git.iko.soy/rowtype-yoga/purescript-native
on 33db511 help sign in
rowtype-yoga/purescript-native/examples/passing/TypeClassMemberOrderChange.purs
11 lines 188 B history raw
1module Main where
3class Test a where
4 fn :: a -> a -> a
5 val :: a
6
7instance testBoolean :: Test Boolean where
8 val = true
9 fn x y = y
11main = Debug.Trace.trace (show (fn true val))