« first day (1162 days earlier)      last day (2362 days later) » 

10:53
Hi. Is there a more succinct way to get the first item of an array row |> splitCommas |> fun t -> t.[0]
I wrote (splitCommas row).[0] but I wonder if it can be done without brackets with a keyword or function such as Head or frst
11:23
Hello @ColonelPanic
@ColonelPanic Array.head
@s952163 it will be not interesting =)
12:03
@FoggyFinder @ColonelPanic but be careful with such indexing and also Array.head, it will throw an ArgumentException if the array is empty.
there is tryHead too
 
2 hours later…
13:47
just gotta get a visa/ticket sorted :D
@FoggyFinder I can see List.head but not Array.head . Have I missed something?
@s952163 nice
unfortunately, in France, we have a meetup crasher
you know, like a wedding crasher ?
boring guy who's always there T_T
Tomas Petricek is there, but the guy doesn't let him speak, for two hours
14:05
omg
Tomas is a lot of fun. he was here last year.
@Maverik tbh its a bad time of the year to visit, super humid and hot
ᕙ༼ಠ͜ʖಠ༽ノ
even if it wasn't - it's still all the way over there!
@ColonelPanic check your F# version. many collection functions got normalized in f#4
 
4 hours later…
18:23
Yep - newer versions of F# have those routines

« first day (1162 days earlier)      last day (2362 days later) »