Skip to content

Commit 951a197

Browse files
authored
Update snippet05.ml to match Haskell snippet
This code is the same code found in the KleisliIdentity module in section 8.5 in order to match the Haskell code to which it is associated
1 parent 75a0a8e commit 951a197

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
let up_case : string -> string writer =
2-
fun s -> String.uppercase s, "up_case "
3-
;;
1+
let return : 'a -> 'a writer = fun a -> a, ""

0 commit comments

Comments
 (0)