@typed-f/functor
Advanced tools
Comparing version 0.2.2 to 0.3.0
@@ -6,2 +6,11 @@ # Change Log | ||
<a name="0.3.0"></a> | ||
# [0.3.0](https://github.com/Ailrun/typed-f/compare/v0.2.2...v0.3.0) (2018-08-24) | ||
**Note:** Version bump only for package @typed-f/functor | ||
<a name="0.2.2"></a> | ||
@@ -8,0 +17,0 @@ ## [0.2.2](https://github.com/Ailrun/typed-f/compare/v0.2.1...v0.2.2) (2018-08-23) |
@@ -30,4 +30,4 @@ import { Fun } from '@typed-f/function'; | ||
export declare namespace Functor { | ||
function map<T, U>(f: Fun<[T], U>): <Tag extends keyof T.Tag1List<any>>(wa: Functor1<Tag, T>) => T.Tag1List<U>[Tag]; | ||
function map<V, U>(f: Fun<[V], U>): <Tag extends keyof T.Tag1List<any>>(wa: Functor1<Tag, V>) => T.Tag1List<U>[Tag]; | ||
} | ||
export {}; |
@@ -10,2 +10,3 @@ "use strict"; | ||
} | ||
//tslint:disable-next-line: max-line-length | ||
throw new Error('Parameter is not a functor. You cannot call the function map with non-functor.'); | ||
@@ -12,0 +13,0 @@ }; |
@@ -6,2 +6,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/* | ||
* Copyright 2018-present Junyoung Clare Jang | ||
*/ | ||
__export(require("./Functor")); |
{ | ||
"name": "@typed-f/functor", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"keywords": [ | ||
@@ -30,4 +30,4 @@ "Functor", | ||
"dependencies": { | ||
"@typed-f/function": "^0.2.2", | ||
"@typed-f/tagged": "^0.2.2" | ||
"@typed-f/function": "^0.3.0", | ||
"@typed-f/tagged": "^0.3.0" | ||
}, | ||
@@ -46,3 +46,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "b822dc27ed6a38b485f725414354a51f601ce049" | ||
"gitHead": "895854afac2304353086598f89f546d194ec8026" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10446
133
+ Added@typed-f/function@0.3.8(transitive)
+ Added@typed-f/tagged@0.3.8(transitive)
- Removed@typed-f/function@0.2.2(transitive)
- Removed@typed-f/tagged@0.2.2(transitive)
Updated@typed-f/function@^0.3.0
Updated@typed-f/tagged@^0.3.0