Created
January 8, 2018 00:40
-
-
Save elbrujohalcon/9d8ccacdd5f2476f2e77becba0853310 to your computer and use it in GitHub Desktop.
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
-module(plusplus). | |
-export([first/0, second/0, third/0]). | |
-spec first() -> 'something'. | |
first() -> [] ++ something. | |
-spec second() -> none(). | |
second() -> something ++ []. | |
-spec third() -> nonempty_improper_list(1 | 2 | 3,'something'). | |
third() -> [1,2,3] ++ something. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment