paf31 / purescript-behaviors

A simple push-pull FRP implementation
MIT License
133 stars 22 forks source link

Applicative instance for Semantic is broken #39

Open paf31 opened 6 years ago

paf31 commented 6 years ago

From https://github.com/paf31/purescript-behaviors/issues/28#issuecomment-395001324:

> (pure 1) :: Semantic Int Int
((Tuple -2147483648 1) : Nil)

> (pure id <*> pure 1) :: Semantic Int Int
((Tuple -2147483648 1) : (Tuple -2147483648 1) : Nil)