mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-24 06:52:19 +03:00
8e1ca0eddf
* Add `break` in each case alt in js backend Fixes #1795 * Remove some uneeded `break`s * linter * Follow @stefan-hoeck 's advice This is neater Note: I renamed breakAfterAssignment because it's too much work to type * [ test ] Test for #1795 * cleanup: remove unneeded vcat
7 lines
110 B
Idris
7 lines
110 B
Idris
import Data.String.Parser
|
|
|
|
main : IO ()
|
|
main = do
|
|
let res = parse (satisfy isDigit) "100"
|
|
printLn res
|