Skip to content

Commit

Permalink
Prepare Elm module publishing. finos#2
Browse files Browse the repository at this point in the history
  • Loading branch information
AttilaMihaly committed Apr 15, 2020
1 parent f308db7 commit 0ebe518
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
13 changes: 1 addition & 12 deletions elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,7 @@
"license": "Apache-2.0",
"version": "1.0.0",
"exposed-modules": [
"Morphir.Pattern",
"Morphir.Rule",
"Morphir.Rewrite",
"Morphir.IR.AccessControlled",
"Morphir.IR.Package",
"Morphir.IR.Module",
"Morphir.IR.Name",
"Morphir.IR.Path",
"Morphir.IR.QName",
"Morphir.IR.FQName",
"Morphir.IR.Type",
"Morphir.IR.Value"
"Morphir.SDK.StatefulApp"
],
"elm-version": "0.19.0 <= v < 0.20.0",
"dependencies": {
Expand Down
10 changes: 9 additions & 1 deletion src/Morphir/SDK/StatefulApp.elm
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
module Morphir.SDK.StatefulApp exposing (..)
module Morphir.SDK.StatefulApp exposing (StatefulApp)

{-| Utilities for modeling stateful applications.
@docs StatefulApp
-}


{-| Type that represents a stateful application.
-}
type alias StatefulApp k c s e =
{ businessLogic : k -> Maybe s -> c -> ( k, Maybe s, e ) }

0 comments on commit 0ebe518

Please sign in to comment.