F# Advent 2016 (English) - December 10 - Implementing a persistent hash map.
This blog created for F# Advent 2016 (English)
|# If this script is throwing an error near a Unicode symbol try resaving the file as UTF-8 with BOM|
|$psmodules = ";~\Documents\WindowsPowerShell\Modules"|
|# sometimes the module paths has been fucked before posh loads, but that won't stop us|
|$env:PSModulePath = $env:PSModulePath + $psmodules|
|# Set the OutputEncoding to Unicode so that the λ renders properly|
|[Console]::OutputEncoding = [System.Text.Encoding]::UTF8|
Full source at: https://gist.github.com/mrange/7c39333de480a8de5c812a1f6ba70173
A popular approach in Functional Languages to create parsers is to use parser combinators.
Parser combinators provide a way to compose parser of ever increasing complexity from simple parsers. Parser combinators