equal
deleted
inserted
replaced
164 | desep xs = xs; |
164 | desep xs = xs; |
165 fun desymb x xs = |
165 fun desymb x xs = |
166 if is_valid x then x :: xs |
166 if is_valid x then x :: xs |
167 else |
167 else |
168 (case Symbol.decode x of |
168 (case Symbol.decode x of |
169 Symbol.Sym name => "_" :: explode name @ sep xs |
169 Symbol.Sym name => "_" :: raw_explode name @ sep xs |
170 | _ => sep xs); |
170 | _ => sep xs); |
171 fun upper_lower cs = |
171 fun upper_lower cs = |
172 if upper then nth_map 0 Symbol.to_ascii_upper cs |
172 if upper then nth_map 0 Symbol.to_ascii_upper cs |
173 else |
173 else |
174 (if forall Symbol.is_ascii_upper cs then map else nth_map 0) |
174 (if forall Symbol.is_ascii_upper cs then map else nth_map 0) |