Skip to content
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

Provide instances and functions to simplify minimal example #24

Open
tysonzero opened this issue Oct 24, 2020 · 1 comment
Open

Provide instances and functions to simplify minimal example #24

tysonzero opened this issue Oct 24, 2020 · 1 comment

Comments

@tysonzero
Copy link
Contributor

Currently it's fairly non-trivial to get something minimal working.

Assuming I have ipfs exposed on a local port and/or an ipfs executable in my path, it seems reasonable to be able to import and run something like:

import Network.IPFS
Right cid = fromText "<cid>"
<some function> $ ipfsCat cid

With minimal additional fanfare.

@tysonzero tysonzero changed the title Provide existing instances to simplify minimal example Provide instances and functions to simplify minimal example Oct 24, 2020
@bhoudebert
Copy link

bhoudebert commented Mar 6, 2022

Bump over here.

IMHO, It would be very great if we could have at our disposal in the test folder real examples fully functional (both Remote and Locale endpoint).

I would expect something like this

main = do
  ...
  runRemote ... do 
      ...
      ... 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants