You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
S3Configuration carries a phantom type of the request type. I am storing my S3Configuration in a bigger Env data type, and it's fine if I always do NormalQuerys. However, I need to do both types of queries, so I end up having to do:
let s3' =case s3 ofS3.S3Configuration a b c d e f ->S3.S3Configuration a b c d e f
It would be nice if aws provided this inside the library itself.
The text was updated successfully, but these errors were encountered:
My use case at the time was to store the S3Configuration in some other piece of data, so to make it polymorphic meant I would have to introduce a new type parameter for that data type - which I would prefer to avoid. I don't think it's possible to do it with a forall either, because when I create an S3Configuration I am choosing a concrete instantiation of the type parameter.
My use case at the time was to store the S3Configuration in some other
piece of data, so to make it polymorphic meant I would have to introduce a
new type parameter for that data type - which I would prefer to avoid. I
don't think it's possible to do it with a forall either, because when I
create an S3Configuration I am choosing a concrete instantiation of the
type parameter.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/75#issuecomment-26146866
.
S3Configuration
carries a phantom type of the request type. I am storing myS3Configuration
in a biggerEnv
data type, and it's fine if I always doNormalQuery
s. However, I need to do both types of queries, so I end up having to do:It would be nice if
aws
provided this inside the library itself.The text was updated successfully, but these errors were encountered: