Skip to content

Commit

Permalink
fix #83
Browse files Browse the repository at this point in the history
  • Loading branch information
CSchank committed May 23, 2019
1 parent 56796fc commit d2fde7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: petri-app-land
version: 0.1.10.0
version: 0.1.11.0
github: "cschank/petri-app-land"
license: BSD3
author: "Christopher William Schankula"
Expand Down
3 changes: 1 addition & 2 deletions src/Generate/Net/Client.hs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ generate extraTypes fp net =
, T.unlines imports
, ""
, "-- the types of all places in the net"
, "type Dummy = Dummy"
, generateNetTypes name places -- the initial places
, "type Transition ="] ++
(if length internalClientTransitions > 0 then
Expand Down Expand Up @@ -451,7 +450,7 @@ generate extraTypes fp net =
, "import Dict exposing (Dict)"
, "x = 0"
-- , T.unlines $ map (createWrap extraTypes (length places > 1) Elm "IncomingMessage" "M") incomingCM
, T.unlines $ map (createUnwrap Elm "OutgoingTransition" "T") $ map trans2constr (outgoingClientTransitions True)
, T.unlines $ map (createUnwrap Elm "OutgoingTransition" "T") $ map trans2constr $ outgoingClientTransitions False
, T.unlines $ map (createUnwrap Elm "InternalTransition" "T") $ map trans2constr internalClientTransitions
]
hiddenView =
Expand Down

0 comments on commit d2fde7a

Please sign in to comment.