purescript-0.15.15: tests/purs/passing/4229.purs
module Main where import Effect.Console (log) import Partial.Unsafe (unsafePartial) data X = Prim f :: Partial => Int -> Int f 0 = 0 f' = unsafePartial f main = log "Done"
module Main where import Effect.Console (log) import Partial.Unsafe (unsafePartial) data X = Prim f :: Partial => Int -> Int f 0 = 0 f' = unsafePartial f main = log "Done"