git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Updated test to actually run a record update.
3353aeajoneshf
examples/passing/ObjectUpdate.purs+4−2
@@ -14,7 +14,9 @@ module ObjectUpdate where
14 polyUpdate = \o -> o { foo = "Foo" }
14 polyUpdate = \o -> o { foo = "Foo" }
15
15
16 inferPolyUpdate = \o -> o { foo = "Foo" }
16 inferPolyUpdate = \o -> o { foo = "Foo" }
17−
17+
18module Main where
18module Main where
19
19
20+import ObjectUpdate
21+
20−main = Debug.Trace.trace "Done"
22+main = Debug.Trace.trace ((update1 {foo: ""}).foo)