0.2.3 • Published 7 years ago

hindley-milner-search v0.2.3

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Hindley Milner Search

Search a list of Hindley-Milner signatures.

const HMS = require('hindley-milner-search');
const lib = [
  'foo :: Int -> String',
  'bar :: Int -> Int',
  'blam :: Int -> Maybe Int'
];
const db = HMS.init(lib);
const results = db.search('Int -> Maybe Int');
console.log(results); /* -> [{
  signature: 'blam :: Int -> Maybe Int',
  pointer: 2,
  name: 'blam',
  constraints: [],
  type: { ... }
}] */
0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago