export FrameworkPathOverride=$(dirname $(which mono))/../lib/mono/4.5/
to your .bash_profile
and restart your terminal, you'll find you can build successfully even with a net45(2) target. This is assuming you also have installed the mono-mdk with brew cask install mono-mdk
.
build.ps1
rather than the dotnet
cli commands directly, but both should work. I'm happy to add a convenience build.sh
if someone wants it.
.Http.State
types and optics ready for prime time? I've tried a bit, but I'm not getting anywhere. I'm continuing to learn the optics way of doing things, so it may be me; but, before I go much further down the path I'm going, I wanted to find out if I'm working against a beta library.
cookie_
lens is missing a parameter in the setter; its signature was Pair list -> Cookie
, but to follow the pattern of other lenses, it should be Pair list -> Cookie -> Cookie
. (That was the genesis of my original question.) I'll keep working on it and post back here if I run into a roadblock.
Sessions.fs
has the cookie stuff and the RavenDB access, and Handlers.fs
(for the hello
handler) shows it using it to increment the count for the home page.