Update generic syntax in tests.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
pub fn length(xs: List(a)) -> Int {
|
||||
pub fn length(xs: List<a>) -> Int {
|
||||
when xs is {
|
||||
[] -> 0
|
||||
[_, ..rest] -> 1 + length(rest)
|
||||
|
||||
Reference in New Issue
Block a user