This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static IEnumerable<T> Cons<T>(T head, IEnumerable<T> tail) | |
{ | |
yield return head; | |
foreach (var t in tail) yield return t; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace tryfs | |
open System | |
open Owin | |
open Microsoft.AspNet.SignalR | |
open Microsoft.Owin.Hosting | |
// Use ImpromptuInterface for dynamic support in the TryFS.Send method. | |
// Could also use http://fssnip.net/2U or http://fssnip.net/2V | |
open ImpromptuInterface.FSharp |