UNPKG
4.5
Version:
latest (0.5.0)
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
Monadic test assertions
github.com/TylorS/4.5
TylorS/4.5
4.5
/
lib.es2015
/
combinators
/
concat.js
6 lines
•
243 B
JavaScript
View Raw
1
2
3
4
5
6
import
{ chain }
from
'./chain'
;
import
{ curry }
from
'@typed/curry'
;
export
var
concat =
curry
(
function
concat
(
assertion1, assertion2
) {
return
chain
(
function
(
) {
return
assertion2; }, assertion1); });
//# sourceMappingURL=concat.js.map