1 {-# LANGUAGE Arrows #-}
3 module Reactogon.Translator.Translator where
6 import Reactogon.Semantics
7 import Reactogon.Translator.Message
8 import Reactogon.Translator.SortMessage
10 -- Takes a stream of raw messages and translates them by type.
11 fromRaw :: SF RawMessage (Note, Controller, RawMessage)
14 -- Takes a stream of high level messages and translates them by type.
15 toRaw :: SF (Note, Controller, RawMessage) RawMessage