Re-align stuff.
authorSiraaj Khandkar <siraaj@khandkar.net>
Fri, 4 Oct 2013 23:47:30 +0000 (19:47 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Fri, 4 Oct 2013 23:47:30 +0000 (19:47 -0400)
polymorphism/001/src/polymorphism.ml

index ab2cbd5..d292e28 100644 (file)
@@ -264,8 +264,8 @@ struct
     Random.int 2 |> State.of_int |> State.to_cell
 
   let count_of_live =
-       List.map       ~f:State.of_cell_state
-    |- List.filter    ~f:State.is_alive
+       List.map    ~f:State.of_cell_state
+    |- List.filter ~f:State.is_alive
     |- List.length
 
   let transition ~self ~neighbors =
@@ -346,8 +346,8 @@ struct
     Random.int 3 |> State.of_int |> State.to_cell
 
   let count_of_burning =
-       List.map       ~f:State.of_cell_state
-    |- List.filter    ~f:State.is_burning
+       List.map    ~f:State.of_cell_state
+    |- List.filter ~f:State.is_burning
     |- List.length
 
   let transition ~self ~neighbors =
This page took 0.019021 seconds and 4 git commands to generate.