Last active
March 21, 2018 18:45
-
-
Save kjnilsson/1a24de73a79874e08422ba11f71dc3d6 to your computer and use it in GitHub Desktop.
module sigs for otp
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
module type GenServerType = | |
type State | |
val init : ErlangTerm list -> State | |
... | |
module MyGenServer : GenServerType = | |
type State = {Name : string} | |
let init args = | |
{Name = "test"} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment