git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Updated test to actually run a record update.
commit3353aea97a2eb103ec9c8eb56f4e93ec0d6869ce authorjoneshf <jones3.hardy@gmail.com> dateFri 7 Mar 2014, 17:38 (13 years ago) parent1538814
1 file changed+4−2
examples/passing/ObjectUpdate.purs+4−2
examples/passing/ObjectUpdate.purs+4−2
@@ -14,7 +14,9 @@ module ObjectUpdate where
1414 polyUpdate = \o -> o { foo = "Foo" }
1515
1616 inferPolyUpdate = \o -> o { foo = "Foo" }
17−
17+
1818module Main where
1919
20−main = Debug.Trace.trace "Done"
20+import ObjectUpdate
21+
22+main = Debug.Trace.trace ((update1 {foo: ""}).foo)