Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Microsandbox Haskell SDK

A minimal Haskell SDK for the Microsandbox project.

Installation

Add to your package.yaml or .cabal file:

dependencies:
  - microsandbox

Or using Cabal:

cabal install microsandbox

Or using Stack:

stack install microsandbox

Usage

import Microsandbox

main :: IO ()
main = do
  -- Print a greeting
  greeting <- greet "World"
  putStrLn greeting

Development

Setup

# Clone the repository
git clone https://github.com/yourusername/monocore.git
cd monocore/sdk/haskell

# Build the package
cabal build

# Or with Stack
stack build

Running Tests

cabal test

# Or with Stack
stack test

Building Documentation

cabal haddock

# Or with Stack
stack haddock

Publishing to Hackage

  1. Create an account on Hackage, if you don't have one.

  2. Create a source distribution:

cabal sdist
  1. Upload to Hackage:
cabal upload dist-newstyle/sdist/microsandbox-0.0.1.tar.gz
  1. Publish the documentation:
cabal upload --documentation --publish dist-newstyle/sdist/microsandbox-0.0.1-docs.tar.gz

For more information, see Uploading to Hackage.

License

MIT