Skip to content

Commit 8c24aef

Browse files
committed
Update CHANGELOG to be easier to read
Can't read well currently (unless in raw data form)
1 parent bb54016 commit 8c24aef

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

CHANGELOG.markdown

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@
22
- MAJOR fix in pattern-matching: If the return contract for a pattern-matched function fails, it should NOT try the next pattern-match function. Pattern-matching is only for params, not return values.
33
- raise an error if multiple defns have the same contract for pattern matching.
44

5-
- New syntax for functions with no input params (the old style still works)
5+
- New syntax for functions with no input params (the old style still works)
66
Old way:
7+
```ruby
78
Contract nil => 1
89
def one
9-
10+
```
1011
New way:
12+
```
1113
Contract 1
1214
def one
15+
```
1316

1417
- Prettier HashOf contract can now be written like this: `HashOf[Num => String]`
1518
- Add `SetOf` contract

0 commit comments

Comments
 (0)