File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ Copyright © 2023 François G. Dorais. All rights reserved.
33Released under Apache 2.0 license as described in the file LICENSE.
44-/
55module
6+
67public section
78
89namespace Unicode
@@ -63,6 +64,3 @@ protected def next? (stream : UCDStream) : Option (Array String.Slice × UCDStre
6364
6465instance : Std.Stream UCDStream (Array String.Slice) where
6566 next? := UCDStream.next?
66-
67- end UCDStream
68- end Unicode
Original file line number Diff line number Diff line change @@ -115,5 +115,3 @@ def getSyllable! (code : UInt32) : Syllable :=
115115 match getSyllable? code with
116116 | some s => s
117117 | none => panic! "not a Hangul syllable"
118-
119- end Unicode.Hangul
Original file line number Diff line number Diff line change 66import UnicodeBasic.CharacterDatabase
77import UnicodeBasic.Hangul
88public import UnicodeBasic.Types
9+
910public section
1011
1112namespace Unicode
@@ -407,5 +408,3 @@ def lookupScriptName (s : Script) : Option String.Slice :=
407408where
408409 str : String := include_str "../data/table/Script_Name.txt"
409410 table : Thunk <| Array (UInt32 × String.Slice) := parseTable str fun _ n => n[0 ]!
410-
411- end Unicode
Original file line number Diff line number Diff line change @@ -1076,6 +1076,3 @@ def ofAbbrev? (abbr : String.Slice) : Option Script :=
10761076def ofAbbrev! (abbr : String.Slice) : Script := ofAbbrev? abbr |>.get!
10771077
10781078end Script
1079-
1080- end Unicode
1081- end
Original file line number Diff line number Diff line change 22Copyright © 2026 François G. Dorais. All rights reserved.
33Released under Apache 2.0 license as described in the file LICENSE.
44-/
5-
65module
76public import Std.Data.HashMap
87import UnicodeBasic.Types
Original file line number Diff line number Diff line change 22Copyright © 2023-2025 François G. Dorais. All rights reserved.
33Released under Apache 2.0 license as described in the file LICENSE.
44-/
5-
65module
76import UnicodeBasic.CharacterDatabase
87import UnicodeBasic.Hangul
@@ -403,5 +402,3 @@ def UnicodeDataStream.next? (s : UnicodeDataStream) : Option (UnicodeData × Uni
403402
404403instance : Std.Stream UnicodeDataStream UnicodeData where
405404 next? := UnicodeDataStream.next?
406-
407- end Unicode
Original file line number Diff line number Diff line change 22Copyright © 2023-2025 François G. Dorais. All rights reserved.
33Released under Apache 2.0 license as described in the file LICENSE.
44-/
5-
65module
76import UnicodeBasic.Types
87import UnicodeBasic.CharacterDatabase
@@ -173,5 +172,3 @@ def PropList.isDeprecated (code : UInt32) : Bool :=
173172 match data[find code data 0 data.size]! with
174173 | (val, none) => code == val
175174 | (_, some top) => code <= top
176-
177- end Unicode
Original file line number Diff line number Diff line change @@ -3,10 +3,9 @@ Copyright © 2026 François G. Dorais. All rights reserved.
33Released under Apache 2.0 license as described in the file LICENSE.
44-/
55module
6- public import Std.Data.HashMap
7- public import UnicodeBasic.Types
8- public import UnicodeBasic.CharacterDatabase
96public import UnicodeData.Aliases
7+ import UnicodeBasic.Types
8+ import UnicodeBasic.CharacterDatabase
109
1110public section
1211
You can’t perform that action at this time.
0 commit comments