Skip to content

Haskell-style type annotations #1

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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