You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5cb1dce
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: python2fsharp.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -198,7 +198,7 @@ In python you write None checks everywhere (no safety at compile time). In F#, y
198
198
* For example, let's say the `Append()` function returned some value, in python we just ignore it by not assigning it to a variable, but in F# you need to be explicit about ignoring it, using the `ignore()` magic function.
199
199
* The underscore in a match expression: it's like an `else` clause in a python `if`.
200
200
* The underscore in `Some(_)`, when we want to make sure the value is not None, but we don't care about its contents.
201
-
* The pipe operator (like `|` in bash) is `|>` (and it works like in bash). Then`ignore(x)`is the same as `x |> ignore`.
201
+
* The pipe operator (like `|` in bash) in F# is `|>` (and it works like in bash). Therefore`ignore(x)`can be also written as `x |> ignore`.
0 commit comments