lean4-htt/tests/lean/utf8.lean
Leonardo de Moura 4eefc41b6e refactor(*): wrap string in a structure
We want to make sure string users do not depend on the string
implementation. This is the first step.

We need this refactoring *now* to make sure it will not be
super painful to address issue #1175
2017-06-07 17:30:49 -07:00

9 lines
250 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--open list
#eval "α₁".length
#eval "α₁ → β₁".length
#eval "∀ α : nat → nat, α 0 ≥ 0".length
#print "------------"
#eval "α₁".utf8_length
#eval "α₁ → β₁".utf8_length
#eval "∀ α : nat → nat, α 0 ≥ 0".utf8_length