purescript-0.8.5.0: examples/passing/PartialFunction.purs
module Main where import Prelude import Test.Assert fn 0.0 = 0.0 fn 1.0 = 2.0 main = assertThrows $ \_ -> fn 2.0
module Main where import Prelude import Test.Assert fn 0.0 = 0.0 fn 1.0 = 2.0 main = assertThrows $ \_ -> fn 2.0