git.iko.soy/rowtype-yoga/purescript-native
on da99bc1 help sign in
10 lines 135 B history raw
1module Main where
3import Prelude
4import Assert
6fn :: Number -> Number
7fn 0.0 = 0.0
8fn 1.0 = 2.0
10main = assertPartial $ \_ -> fn 2.0