turion / rhine

Haskell Functional Reactive Programming framework with type-level clocks
http://hackage.haskell.org/package/rhine
123 stars 21 forks source link

Rename Leftmost and Rightmost to In and Out? #69

Closed turion closed 6 years ago

turion commented 6 years ago

These type families calculate the boundary clocks of a clock tree in the sequential direction. The Leftmost clock ticks whenever data enters the network, the Rightmost clock ticks whenever data leaves the network. So it's actually a quite asymmetric concept, and so the names shouldn't be symmetric. Also, the names force a view of data going from left to right, which is just an arbitrary convention. So we should rename Leftmost to In and Rightmost to Out, if this doesn't name clash with anything important.

turion commented 6 years ago

A quick search on hoogle shows that a lot of modules define In & Out. base doesn't, and there is no "big" package relevant to this area that does.