Comparing version
{ | ||
"name": "hm-def", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Runtime type checking with Hindley Milner signatures", | ||
@@ -16,5 +16,5 @@ "repository": "https://github.com/xodio/hm-def", | ||
"dependencies": { | ||
"hm-parser": "^0.1.3", | ||
"ramda": "^0.23.0", | ||
"ramda-fantasy": "^0.7.0", | ||
"hm-parser": "^0.1.4", | ||
"ramda": "^0.24.1", | ||
"ramda-fantasy": "^0.8.0", | ||
"sanctuary-def": "^0.9.0" | ||
@@ -21,0 +21,0 @@ }, |
import R from 'ramda'; | ||
import { uncurryN } from 'ramda'; | ||
import $ from 'sanctuary-def'; | ||
@@ -16,3 +16,3 @@ import * as Sig from './signature'; | ||
const params = Sig.resolve(typeClasses, env, signature); | ||
const ufunc = R.uncurryN(params.types.length - 1, func); | ||
const ufunc = uncurryN(params.types.length - 1, func); | ||
return $def(params.name, params.constraints, params.types, ufunc); | ||
@@ -19,0 +19,0 @@ }; |
import R from 'ramda'; | ||
import * as R from 'ramda'; | ||
import { Reader } from 'ramda-fantasy'; | ||
@@ -4,0 +4,0 @@ import HMP from 'hm-parser'; |
Sorry, the diff of this file is not supported yet
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1
-50%112289
-6.83%11
-26.67%537
-30.71%+ Added
- Removed
- Removed
Updated
Updated
Updated