Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2 from blastrock/patch-1

Fixed typos
  • Loading branch information...
commit 6b40dd9cd79dab90d9066badbd714395495b1241 2 parents 76d71e7 + ca581f2
@shangaslammi shangaslammi authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 2012/2012-01-17-declarative-game-logic-afrp.md
View
4 2012/2012-01-17-declarative-game-logic-afrp.md
@@ -169,7 +169,7 @@ bottomWall = 590
-- Ball bounce events for horizontal and vertical bounce
data BallBounce = HBounce | VBounce
--- Multiple a vector by a scalar
+-- Multiply a vector by a scalar
vecMul :: Int -> (Int, Int) -> (Int, Int)
vecMul c (x,y) = (x*c,y*c)
@@ -184,7 +184,7 @@ bounce (dx,dy) b = case b of
VBounce -> (dx,-dy)
```
-Now we can define the ball position in terms on bounce events:
+Now we can define the ball position in terms of bounce events:
```haskell
ballPos :: Coroutine (Event BallBounce) BallPos
Please sign in to comment.
Something went wrong with that request. Please try again.