タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

idris-devに関するnabinnoのブックマーク (1)

  • Copatterns

    Motivation So, what are copatterns, and why do we want them? Essentially, copatterns allow us to make projections on the left-hand side of function definitions. Left-hand side projections make sense for definitions from which we primarily want to extract data, contrary to injecting data into data constructors. Examples include record types and coinductive types. Observation vs. Construction Copatt

    Copatterns
  • 1