This file contains 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
import os | |
import subprocess | |
# https://docs.xfce.org/xfce/xfconf/xfconf-query | |
#region Output | |
Colors = [ | |
('<red>', '\033[0;31m'), | |
('<green>', '\033[0;32m'), |
This file contains 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
open FsUnit | |
[<TestFixture>] | |
type ``When using apply in List`` ()= | |
let (<*>) = List.apply | |
[<Test>] member x. | |
``it should call apply to each member``() = | |
[add] <*> [1; 2] <*> [10;20] | |
|> should equal [11;21;12;22] |
This file contains 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
type KeyValues = Map<string,string> | |
type DataList = { | |
Articles: KeyValues list option | |
} | |
let dataList : DataList = { | |
Articles = Option.None | |
} |
OlderNewer