Skip to content

Using Char #41

@alkubaig

Description

@alkubaig

Hello all,

I am having an issue with using Characters in Eff
Whenever I use it, it says "unrecognised symbol" or "parser error"

The main reason why I want to use it is to be able to use the Split function from OCaml

external split_on_char : char -> string -> string list = "split_on_char"

I did everything to add Char as a type and it compiled << you can see that in my Pull-request
but I noticed that it cannot parse Char properly << maybe the single quote is the problem

let m = '4';;
let k = 's' ;;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions