Skip to content

[Feature request] Extend a monadic idiom u&.(m&{) to dyadic valence #212

Closed

Description

@jip

An idiom u&.(m&{) is monadic only implementing:

m}&y u m&{ y           NB. u&.(m&{) y

I propose to extend it to support dyadic application implementing:

m}&y (m&{ x) u m&{ y    NB. x u&.(m&{) y

That is, to make an idiom u&.(m&{) ambivalent.

Activity

  1. HenryHRich commented on Mar 29, 2026

    @HenryHRich
    Contributor

    Not a bad thought, but the vast majority of uses would not need (m{x) so it would be better to use x instead. This is a semidual rather than a dual.

    This is structural under, which is already a separate case of &. using its own inverse. Perhaps the dyad case of structural under should be a semidual.

  2. locked and limited conversation to collaborators on Mar 29, 2026
  3. converted this issue into a discussion #239 on Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions