Skip to content

Standard stymbol for as-> #164

Closed
Closed
@garrett-hopper

Description

@garrett-hopper

I think it would be worthwhile to choose a standard symbol for use with as->.

Sometimes there's an actual name that makes sense in the context, but often an arbitrary symbol is needed for values that change dramatically throughout the macro.

_

(as-> VAL _
  (do-stuff nil _ nil)
  (do-other-stuff _ nil)
  (do-more-stuff _))

This could lead to confusion with the convention of using _ for ignored values.

<>

(as-> VAL <>
  (do-stuff nil <> nil)
  (do-other-stuff <> nil)
  (do-more-stuff <>))

%

(as-> VAL %
  (do-stuff nil % nil)
  (do-other-stuff % nil)
  (do-more-stuff %))

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