Skip to content

Commit

Permalink
Adjust docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wallymathieu committed Jun 23, 2024
1 parent 208932e commit bf3993e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docsrc/content/extension-methods.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ Here are some examples:
*)
open FSharpPlus.Extensions

let opt = Option.Sequence [Some 1; Some 2]
let asn = Async.Sequence [| async {return 1}; async {return 2} |]
let opt = Option.Sequential [Some 1; Some 2]
let asn = Async.Sequential [| async {return 1}; async {return 2} |]
2 changes: 1 addition & 1 deletion src/FSharpPlus.Docs/Samples/Conversions.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let ipAddress:System.Net.IPAddress = [192;168;0;1] |>> string |> intersperse "."

let ipAndPort : (System.Net.IPAddress * int) option =
match "192.168.0.1:8001".Split ':' with
| [|Parse ip; Parse port|] -> Some (ip, port)
| [|Parsed ip; Parsed port|] -> Some (ip, port)
| _ -> None

let r10:float = explicit 10
Expand Down

0 comments on commit bf3993e

Please sign in to comment.