Update generic syntax in tests.

This commit is contained in:
KtorZ
2022-12-13 11:23:51 +01:00
parent 8f69a4b600
commit 572121974e
4 changed files with 7 additions and 7 deletions

View File

@@ -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)