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