
Quickly demonstrating the F# language and tools.
Northern Virginia
Joined February 2017
- Tweets87
- Following637
- Followers685
- Likes113
Hello #fsharp Twitter!
Did learning F# or some other functional programming seem to “unlock” something for you?
If you have a story or comment about how it changed your trajectory or outlook, I’d love to hear from you.
Reply in the comments or send me a DM.
F# Casts retweeted
Awesome feature @linqpad - just hightlight the code and press CTRL+SHIFT+B to benchmark with BenchmarkDotNet
Spent this afternoon making basic F# classes and record types transpile to C# classes and record types.
1
2
396
Part 2 - Using Cantor's unpairing function to map integers to our calculator language. (A recursive type)
It's getting closer to being a total function. But what if we used unbounded bigints?
Generate: Int → Lang ????
Can we define a small recursive language and then map the set of integers to example instances of our language?
When two total functions (these should be uint, not int) map to each other in a special way, they can create a bijection.
For this demo, we uniquely map the set of integers to a pair of integers and back.
F# is a pretty good at working with generics. If you see 'a or 'b or 'c (etc) in your function signature, it means you're defining a generic function.
Maybe you did it on purpose, or maybe didn't give the F# compiler enough to infer the types you wanted.
F# Casts retweeted
Today's F# cast is brought to you by our "wheel watching" friends at @FriedFsharp!
F# Casts retweeted
Watching @shanselman video on @bletchleypark made me think - I have an hour on the train, let's port my own #fsharp Enigma emulator to @safe_stack! @FableCompiler is truly fantastic and makes this easy.
F# Casts retweeted
Replying to @FSharpCasts
@FSharpCasts : #fsharp + #vim : Introduce Parameter (Up)
checkout the full readme : github.com/cboudereau/vsvimr…
F# Casts retweeted
As soon as I saw @auchenberg's Browser Preview extension, I know I had to use it for an F# object printer for FSI based on @gmpl's original FsPad project. (github.com/gusty/FsPad/)
F# Casts retweeted
Thanks @TomasJansson for the suggestion! So, how do you get rid of the pesky mutable keyword? share.linqpad.net/x6vfdl.lin…
F# Casts retweeted
F# Agent Basics - share.linqpad.net/g6dfvm.lin…
More info - fsharpforfunandprofit.com/po…






