-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend Tuple support to Elm and Scala #24
Labels
Comments
I will look at it, but I can't promise when, next couple of months are a bit… :(
… On 31 Jul 2019, at 14:03, Dave Gurnell ***@***.***> wrote:
Version 0.18 added TsType.Tuple and FlowType.Tuple to encode tuple Typescript and Flow tuple types:
export
type
SpreadsheetCell
=
[
string
,
number
];
We should extend this support to Elm and Scala!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, [view it on GitHub](#24?email_source=notifications&email_token=AAAEJPSHJ5SULXC2E6XAWV3QCGERHA5CNFSM4IIGOJT2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HCR6DVA), or [mute the thread](https://github.com/notifications/unsubscribe-auth/AAAEJPQE6GQZSVRXVGPMXY3QCGERHANCNFSM4IIGOJTQ).
|
No worries. I have what I need for now. This is more of an if-and-when kind of thing. A nice-to-have.
…On 2 August 2019 at 20:43:13, Pere Villega ***@***.******@***.***)) wrote:
I will look at it, but I can't promise when, next couple of months are a bit… :(
> On 31 Jul 2019, at 14:03, Dave Gurnell ***@***.***> wrote:
>
> Version 0.18 added TsType.Tuple and FlowType.Tuple to encode tuple Typescript and Flow tuple types:
>
> export
>
> type
>
> SpreadsheetCell
>
> =
>
> [
>
> string
>
> ,
>
> number
>
> ];
>
> We should extend this support to Elm and Scala!
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, [view it on GitHub](#24?email_source=notifications&email_token=AAAEJPSHJ5SULXC2E6XAWV3QCGERHA5CNFSM4IIGOJT2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HCR6DVA), or [mute the thread](https://github.com/notifications/unsubscribe-auth/AAAEJPQE6GQZSVRXVGPMXY3QCGERHANCNFSM4IIGOJTQ).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub(#24?email_source=notifications&email_token=AABYRZ76MZ76PLAVOU4IRKTQCSE5DA5CNFSM4IIGOJT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3OVOFY#issuecomment-517822231), or mute the thread(https://github.com/notifications/unsubscribe-auth/AABYRZ2DSX6MMTCQFFY3TJLQCSE5DANCNFSM4IIGOJTQ).
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version 0.18 added
TsType.Tuple
andFlowType.Tuple
to encode tuple Typescript and Flow tuple types:We can currently create these types using the DSL:
However, we can't yet map Scala tuples onto them using
decl[T]
. If we can add tuple support to Elm's model, we can write somescala.TupleX
encoders using shapeless of sbt-boilerplate.The text was updated successfully, but these errors were encountered: