Skip to content

How to use the reader? #65

@Ambrevar

Description

@Ambrevar
> (in-package :iolib/pathnames)
> (iolib/base:enable-literal-reader* )
T
> #/p/"README.org"
#/P/"README.org"
> #/p/"README.org"
; error
> (iolib/pathnames:file-path "README.org")
#/IOLIB/PATHNAMES:P/"README.org"
> #/IOLIB/PATHNAMES:P/"README.org"
; error

Some things be wrong.

  • The reader seems to only work in the IOlib package.
  • Is it intended that the reader dispatch string changes?
  • Why surround the reader dispatch string with /? Actually, just / would be a nice dispatch string for pathnames. For instance #/"path/to/foo" makes a lot of sense to me.

Thoughts?

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