Skip to content

Basic tests on Option<'t> #46

@gsvgit

Description

@gsvgit

Create tests for Option<'t>

  • Lexer/Parser
  • Type checker
  • IR
  • IR Interpreter

Example of type definition.

type Option<'t> =
     Some of 't
   | None 

Example of function for test.

let map o f =
   match o with 
  | Some(x) -> Some (f x)
  | None -> None

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions