Skip to content

The validity of Ruby symbols as EDN keywords is not checked before conversion #6

Open

Description

@cndreisbach

We should be doing this, and doing it with EDN::Type::Symbols as well.

Activity

  1. yokolet commented on Dec 21, 2012

    @yokolet
    Contributor

    So, you mean there's a case Ruby symbol should not be simply mapped to EDN::Type::Symbol type, right? If so, what is the case?

  2. cndreisbach commented on Dec 31, 2012

    @cndreisbach
    ContributorAuthor

    Ruby symbols can have anything in them by quoting them, like this: `:"hello i am a symbol". That would not be a valid Clojure keyword. I'm not sure what the best solution is. I would consider throwing an exception in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions