Commit Graph

15 Commits

Author SHA1 Message Date
5954c12c30 Reimplementing Graph as an adjacency matrix and adding loops on transducers 2019-05-09 17:15:42 +02:00
2780b38df2 Add distinction between an empty node and a leaf to allow truncating the output right after a node 2019-05-09 16:42:42 +02:00
ed5ee22a49 Best of both worlds : ignore unknown characters but only on top state 2019-05-06 22:09:16 +02:00
174912bb5a Expose Vertex to access label of a node from a Transducer and implement running a Transducer on some input 2019-05-06 21:51:59 +02:00
916fde61ae Expose function follow to the outside of the module and use Map.lookup instead of (!?) for backward compatibility 2019-05-06 16:47:29 +02:00
675b475a8a Add gitignore to mask files produced by cabal 2019-05-06 08:23:10 +02:00
e562d0e605 Add a new Transducer module built on the one for graphs 2019-05-06 08:21:50 +02:00
a8f87be2c1 Use new Tree module to print graphs (doesn't handle loops yet), switch type arguments and generalize the label setter into a label editor that takes a function 2019-05-06 08:21:04 +02:00
5d1907094d Put tree drawing logic in a separate module with a class type 2019-05-06 08:19:08 +02:00
98c06b95ce Add a Graph module with a graph zipper 2019-05-05 12:27:50 +02:00
199df91c71 Give up about the annoying breaking change in base about Monoid / Semigroup 2019-05-05 12:27:03 +02:00
1c93600ecf Reimplement showTree, rename it to showStream and expose useful functions from module 2019-05-03 19:17:17 +02:00
06ec115c88 Implement stable merging of Streams 2019-05-03 19:09:08 +02:00
a34e1e8806 Lift restrictions on base version and abandon Semigroup instance 2019-05-03 19:09:02 +02:00
c481ea4981 Starting with simple streams 2019-05-03 07:58:44 +02:00