Skip to content

Commit 9ddd165

Browse files
Rename Text to String
1 parent 6ffffdf commit 9ddd165

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* Improve rendering parse errors
66
* Include filepath in error messages when `decodeFileWith` fails
77

8+
API changes:
9+
* Rename `Text` constructor to `String` in `ValueData`
10+
811
## v0.2.1
912

1013
* Add `KDL.Applicative`

src/KDL/Types.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ valueFormat :: Value -> Maybe ValueFormat
338338
valueFormat = (.format)
339339

340340
data ValueData
341-
= Text Text
341+
= String Text
342342
| Number Scientific
343343
| Bool Bool
344344
| Inf

0 commit comments

Comments
 (0)