diff --git a/README.md b/README.md index e54c0ca..d572ff3 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,8 @@ are ) in the codebase, as of the last time that I updated this list. tuple-like _or_ record-like syntax? - Labelled parameters in function calls are not transformed (ie `fn foo(bar baz: Str)`) - (EASY) Discard parameters in function arguments are not transformed -- Bitstrings are not supported yet +- Codepoints in bistrings are not supported yet +- non-byte-aligned bitstrings are not supported yet - case guards are not supported yet - Functions as type fields are not supported yet - debatable whether to make them a `def` right on the class or have the def be defined somewhere and just attach it like other fields diff --git a/src/python_prelude.gleam b/src/python_prelude.gleam index 6bdefe7..104c99a 100644 --- a/src/python_prelude.gleam +++ b/src/python_prelude.gleam @@ -73,7 +73,7 @@ def gleam_bitstring_segment_to_bytes(segment) -> bytes: endianness = sys.byteorder case ('Float', None): type = 'float' - case ('Integer', None): + case ('Int', None): type = 'int' case ('BitString', None): type = 'bitstring'