I'm taking down this post. I just posted this as a side comment to explain a sentence on my latest blog post. This wasn't meant to be #1 on HN to start a huge war on functional programming... The thoughts are not well formed enough to have a huge audience. Sorry for all the people reading this. And please, don't dig through the history...
Applied Functional Programming with Scala - Notes
Copyright © 2016-2018 Fantasyland Institute of Learning. All rights reserved.
1. Mastering Functions
A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.
val square : Int => Int = x => x * x
|/// Helper to encode and set HTML fragment to clipboard.<br/>|
|/// See http://theartofdev.com/2014/06/12/setting-htmltext-to-clipboard-revisited/.<br/>|
|/// <seealso cref="CreateDataObject"/>.|
|/// The MIT License (MIT) Copyright (c) 2014 Arthur Teplitzki.|
|public static class ClipboardHelper|
|[<ServiceContract(ConfigurationName = "PublishService", Namespace = "http://xyz.gov/PublishService")>]|
|type IPublishService =|
|abstract member TestMethod : name:string -> string|