A minimal Haskell SDK for the Microsandbox project.
Add to your package.yaml or .cabal file:
dependencies:
- microsandboxOr using Cabal:
cabal install microsandboxOr using Stack:
stack install microsandboximport Microsandbox
main :: IO ()
main = do
-- Print a greeting
greeting <- greet "World"
putStrLn greeting# Clone the repository
git clone https://github.com/yourusername/monocore.git
cd monocore/sdk/haskell
# Build the package
cabal build
# Or with Stack
stack buildcabal test
# Or with Stack
stack testcabal haddock
# Or with Stack
stack haddock-
Create an account on Hackage, if you don't have one.
-
Create a source distribution:
cabal sdist- Upload to Hackage:
cabal upload dist-newstyle/sdist/microsandbox-0.0.1.tar.gz- Publish the documentation:
cabal upload --documentation --publish dist-newstyle/sdist/microsandbox-0.0.1-docs.tar.gzFor more information, see Uploading to Hackage.