Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CoPaR
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Software
CoPaR
Commits
f6783512
Commit
f6783512
authored
Jun 06, 2019
by
Hans-Peter Deifel
🐢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prism: Split converter into library and executable
This allows to write separate tests for the library.
parent
8ec6c4d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
14 deletions
+26
-14
copar.cabal
copar.cabal
+26
-14
src/prism-converter/main/Main.hs
src/prism-converter/main/Main.hs
+0
-0
No files found.
copar.cabal
View file @
f6783512
...
...
@@ -245,26 +245,38 @@ benchmark bench
default-language: Haskell2010
ghc-options: -Wall
executable prism-converter
library prism-converter-lib
hs-source-dirs: src/prism-converter
main-is: Main.hs
other-modules: Parser
exposed-modules: Parser
, MarkovChain
, Mdp
, StatesFile
default-language: Haskell2010
build-depends: base >= 4.11
, text
, vector
, megaparsec >= 7
, containers
, optparse-applicative
, prettyprinter
, prettyprinter-ansi-terminal
, prettyprinter-convert-ansi-wl-pprint
, microlens
, microlens-th
, microlens-platform
, containers ^>= 0.6
, megaparsec ^>= 7
, microlens ^>= 0.4.10
, microlens-platform ^>= 0.3.11
, microlens-th ^>= 0.4.2
, text ^>= 1.2.3
, vector ^>= 0.12
, vector-algorithms ^>= 0.8.0.1
if !flag(benchmark-generators)
buildable: False
executable prism-converter
hs-source-dirs: src/prism-converter/main
main-is: Main.hs
default-language: Haskell2010
build-depends: base >= 4.11
, prism-converter-lib
, containers ^>= 0.6
, megaparsec ^>= 7
, optparse-applicative ^>= 0.14.3
, prettyprinter ^>= 1.2 || ^>= 1.3
, prettyprinter-ansi-terminal ^>= 1.1
, prettyprinter-convert-ansi-wl-pprint ^>= 1.1
, text ^>= 1.2.3
if !flag(benchmark-generators)
buildable: False
...
...
src/prism-converter/Main.hs
→
src/prism-converter/
main/
Main.hs
View file @
f6783512
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment