mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-26 09:21:00 +03:00
Fix standard ml
This commit is contained in:
parent
f9cff00e89
commit
e26c663f75
@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
language: Standard ML
|
language: "Standard ML"
|
||||||
contributors:
|
contributors:
|
||||||
- ["Simon Shine", "http://shine.eu.org/"]
|
- ["Simon Shine", "http://shine.eu.org/"]
|
||||||
- ["David Pedersen", "http://lonelyproton.com/"]
|
- ["David Pedersen", "http://lonelyproton.com/"]
|
||||||
lang: en-en
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Standard ML is a functional programming language with type inference and some
|
Standard ML is a functional programming language with type inference and some
|
||||||
@ -12,7 +11,7 @@ pattern matching, type inference (guessing the right types but never allowing
|
|||||||
implicit type conversion). If you have an imperative background, not being able
|
implicit type conversion). If you have an imperative background, not being able
|
||||||
to update variables can feel severely inhibiting.
|
to update variables can feel severely inhibiting.
|
||||||
|
|
||||||
```sml
|
```ocaml
|
||||||
(* Comments in Standard ML begin with (* and end with *). Comments can be
|
(* Comments in Standard ML begin with (* and end with *). Comments can be
|
||||||
nested which means that all (* tags must end with a *) tag. This comment
|
nested which means that all (* tags must end with a *) tag. This comment
|
||||||
contains two nested comments. *)
|
contains two nested comments. *)
|
||||||
|
Loading…
Reference in New Issue
Block a user