I think it would be really excellent to begin work on something like 
crypto-elm (a la crypto-js). It will take a lot of work, but I find it a 
sorely needed foundational library for many other elm libraries I'd like to 
build out.

A byte array seems like the only option viable in this particular case. 
(Please correct me if I'm mistaken).

On Tuesday, July 18, 2017 at 8:34:06 PM UTC-6, Martin Bailey wrote:
>
> What kind of interaction with binary data would you require for your 
> projects?
>
> -Blob : black box to store and pass opaque data around (anything that 
> isn't a valid Unicode string)
> -Byte array : equivalent to char/string for arbitrary bytes
> -Bit stream : more flexible mechanism to implement binary protocols or 
> binary coding
>
> Byte array would remove the need for blobs and would also allow building a 
> clean bitstream library in pure Elm. It needs to be designed properly for 
> binary data to be reliable and fun to work with, but that would probably be 
> the best abstraction. Haskell calls theirs Data.ByteString.
>
> On Tuesday, July 18, 2017 at 3:10:33 AM UTC-4, Zachary Kessin wrote:
>>
>> I would really like to have a way to do file uploads in Elm, I needed 
>> that at a project a while back
>>
>> Zach
>> ᐧ
>>
>> On Wed, Jul 12, 2017 at 8:18 PM, Coury Ditch <[email protected]> wrote:
>>
>>> Here are a couple relevant repos so far - they are mostly barren at the 
>>> moment, as we're trying to solve some hard API problems before we put too 
>>> much code down.
>>>
>>> https://github.com/cmditch/elm-web3
>>> https://github.com/cmditch/elm-truffle-webpack
>>>
>>>
>>> On Sunday, July 9, 2017 at 9:49:46 AM UTC-6, Berry Groenendijk wrote:
>>>>
>>>> Coury,
>>>>
>>>> I am very interested in an Elm version of web3.js. For exactly the 
>>>> reason you mentioned. Where can I follow the progress on this project?
>>>>
>>>> Berry
>>>>
>>>> Op zaterdag 8 juli 2017 21:30:53 UTC+2 schreef Coury Ditch:
>>>>>
>>>>> Our use case: Pure elm library for cryptographic functions. 
>>>>>
>>>>> We are creating a pure Elm web3.js equivalent. We think Ethereum 
>>>>> developers and the blockchain developer community at large would benefit 
>>>>> from the strong guarantees of using Elm.
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Monday, January 11, 2016 at 5:32:43 PM UTC-7, Evan wrote:
>>>>>>
>>>>>> I have been drafting Blob and ArrayBuffer APIs, but I wasn't sure who 
>>>>>> needed them.
>>>>>>
>>>>>> What is your particular use case?
>>>>>>
>>>>>> On Mon, Jan 11, 2016 at 4:55 AM, John Watson <[email protected]> 
>>>>>> wrote:
>>>>>>
>>>>>>> Can anyone tell me what the plans are for supporting binary data in 
>>>>>>> elm?  I'm thinking of a Byte (and some sort of Byte Array) type and 
>>>>>>> also 
>>>>>>> implementing Blob in HTTP responses. 
>>>>>>>
>>>>>>> -- 
>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>> Groups "Elm Discuss" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>> send an email to [email protected].
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>
>>>>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Elm Discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> Zach Kessin
>> Teaching Web Developers to test code to find more bugs in less time
>> Skype: zachkessin
>> +972 54 234 3956 / +44 203 734 9790 / +1 617 778 7213
>>
>>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to