Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Hoogle equivalent for DAML?

Hoogle comes handy to find an appropriate function in Haskell by typing the approximate type signature. Is there some similar support for DAML?

like image 695
therat2000 Avatar asked Sep 19 '25 20:09

therat2000


2 Answers

Hoogle is integrated in the search on https://docs.daml.com, e.g., searching for (a -> b) -> [a] -> [b]) https://docs.daml.com/search.html?query=(a%20-%3E%20b)%20-%3E%20[a]%20-%3E%20[b] will bring up map.

like image 189
cocreature Avatar answered Sep 22 '25 10:09

cocreature


There is also a more familiar looking Hoogle-for-DAML (though I argue it should be called Doogle!)

like image 20
Fil Avatar answered Sep 22 '25 12:09

Fil