mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-11 05:25:28 +03:00
core: fix type of Char.zero
This commit is contained in:
parent
1cc751afbb
commit
07a21d76b5
@ -44,8 +44,7 @@
|
||||
(defn alphanum? [c]
|
||||
(or (alpha? c) (num? c)))
|
||||
|
||||
(defn zero []
|
||||
(from-int 0))
|
||||
(defn zero [] (the Char (from-int 0)))
|
||||
)
|
||||
|
||||
(defmodule CharRef
|
||||
|
Loading…
Reference in New Issue
Block a user