Harendra Kumar
cad6f1913b
remove stop
2017-06-22 13:12:42 +05:30
Harendra Kumar
9779a0b082
Pass results from children to parent
2017-06-22 13:11:29 +05:30
Harendra Kumar
c49bcc7406
Pass on exceptions and results from child to parent
2017-06-21 15:15:21 +05:30
Harendra Kumar
6fd665167e
Add some comments
2017-06-20 18:17:31 +05:30
Harendra Kumar
da2491da43
Return a maybe value from resumed context
...
- it will be useful for returning values from a computation continued in a new
thread.
2017-06-20 18:16:42 +05:30
Harendra Kumar
11deaa73be
rename function to appropriate name
2017-06-20 13:42:35 +05:30
Harendra Kumar
1b2ac02e4e
rename for clarity
2017-06-14 00:31:07 +05:30
Harendra Kumar
6a572e5279
Refactor, simplify forking the context
2017-06-14 00:27:29 +05:30
Harendra Kumar
bb402cb4d7
Fix react
2017-06-12 02:01:54 +05:30
Harendra Kumar
a439149806
Refactor forking and context resumtpion
2017-06-12 01:51:23 +05:30
Harendra Kumar
4eda27263c
Rename variables, add comments
2017-06-11 21:22:20 +05:30
Harendra Kumar
9f2c3c23c1
rename location attributes and context resumption
2017-06-11 17:07:52 +05:30
Harendra Kumar
4adbddf74c
Add context save, restore and continue functions
...
Modularize the context functionality
2017-06-11 02:56:22 +05:30
Harendra Kumar
a39705bb0d
More refactor, reorg, remove additonalOperators class
2017-06-10 17:08:12 +05:30
Harendra Kumar
a00f8c58bf
Change coerced type for illustrative purpose
2017-06-10 16:48:04 +05:30
Harendra Kumar
dcb01042cd
remove mfSequence
2017-06-10 16:45:48 +05:30
Harendra Kumar
70c2917343
rename EventF to Context
2017-06-10 16:41:30 +05:30
Harendra Kumar
0a69aecc0f
Refactor, simplify, add comments
2017-06-10 16:34:31 +05:30
Harendra Kumar
dde36a399e
Simplify applicative and monad instances
2017-06-10 02:45:24 +05:30
Harendra Kumar
3744363427
Remove the parent pointer from EventF
2017-06-08 01:23:06 +05:30
Harendra Kumar
45e820430e
Remove threadId from EventF
2017-06-08 00:53:20 +05:30
Harendra Kumar
e4bbcd6b4d
Format import list
2017-06-08 00:35:56 +05:30
Harendra Kumar
df9febd5bd
Use threadId tracking instead of EventF for children
2017-06-08 00:34:20 +05:30
Harendra Kumar
1bcf579e4b
Kill children on exception
2017-06-07 23:54:33 +05:30
Harendra Kumar
7ae04e3124
Add some notes and minor fixes
2017-06-07 23:37:58 +05:30
Harendra Kumar
aaeeec5fca
Remove some redundant code
2017-06-07 21:27:18 +05:30
Harendra Kumar
2f8342633c
Add some sample test programs
2017-06-07 21:07:13 +05:30
Harendra Kumar
b90da15d00
Initial commit
...
A simplified, refactored and modified version of transient. Significant
differences from transient include:
1) Supports transformer stack
2) Each thread waits for its child threads to complete before exiting
2017-06-07 21:02:27 +05:30