Skip to content

Instantly share code, notes, and snippets.

type IStore =
abstract member GetState : unit -> Async<'T>
abstract member SaveState: 'T -> Async<unit>
type IServiceProvider =
abstract member Resolve : unit -> 'T
type GetTodoListQuery = unit
type AddCommand = { Title: string; }
type RemoveCommand = { Id: Id; }
@BashkaMen
BashkaMen / todo
Last active April 16, 2020 11:58
open System
type Id = int
type TodoValue =
| Text of string
| Markdown of string
| Html of string