From 0ebe518c68ad034c6ca5c330e51ea2620b59ec6b Mon Sep 17 00:00:00 2001 From: Attila Mihaly Date: Wed, 15 Apr 2020 15:04:43 -0400 Subject: [PATCH] Prepare Elm module publishing. #2 --- elm.json | 13 +------------ src/Morphir/SDK/StatefulApp.elm | 10 +++++++++- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/elm.json b/elm.json index 53a4ae801..138ad68a9 100644 --- a/elm.json +++ b/elm.json @@ -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": { diff --git a/src/Morphir/SDK/StatefulApp.elm b/src/Morphir/SDK/StatefulApp.elm index 2ffd163ce..bebeb85c8 100644 --- a/src/Morphir/SDK/StatefulApp.elm +++ b/src/Morphir/SDK/StatefulApp.elm @@ -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 ) }