Skip to content

Data types for send and receive aren't preserved by toJSON #1

Description

@mx00s

As of 0398a0a the data types for send and receive operations are encoded in Dhall as Type, but there's no general function for converting Type -> Text.

Perhaps the type used for data in send and receive operations should be bound as a type parameter on ./SimpleSession/Type, e.g. \(dataType : Type), and the toJSON function should take an additional parameter of type dataType -> JSON/Type to help with the conversion.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions