Skip to content

Haskell-style type annotations #1

@Eckankar

Description

@Eckankar

It'd be useful to have compiler-checked type annotations in ML.

One could for instance have

add ::: int * int -> int
fun add (x, y) = x + y

Be rewritten to

fun add (x, y) = x + y
val _ = add : int * int -> int

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions