Skip to content

Add ~> operator #35

@ericelliott

Description

@ericelliott

The ~> operator means "use the LH context to transform the input on the right." e.g.:

PainPoint {
  name
  description
  impact: 1..10      // how much this hurts when it happens
  frequency: 1..10   // how often this happens
}

UserStory {
  name
  description
  painPoint
  // The following is equivalent to:
  // priority = painPoint.impact * painPoint.frequency
  priority = painPoint ~> impact * frequency
  functionalRequirements
  mockups
  phases
}

Similar to with statements or binding contexts from functional programming languages.

Metadata

Metadata

Assignees

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