Skip to content

Commit

Permalink
Merge pull request #5 from truqu/master
Browse files Browse the repository at this point in the history
Use 0.16 syntax for updating record fields in README
  • Loading branch information
process-bot committed Dec 3, 2015
2 parents 7e274a4 + 7aaeb2a commit 93bf746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -16,8 +16,8 @@ mario =
}
}

physics = create .physics (\f r -> { r | physics <- f r.physics })
velocity = create .velocity (\f r -> { r | velocity <- f r.velocity })
physics = create .physics (\f r -> { r | physics = f r.physics })
velocity = create .velocity (\f r -> { r | velocity = f r.velocity })

freeze object =
set (physics => velocity) { x=0, y=0 } object
Expand Down

0 comments on commit 93bf746

Please sign in to comment.