stackage-server/templates/hoogle-form.hamlet
2016-11-21 07:30:46 +02:00

9 lines
492 B
Plaintext

<form .hoogle action=@{SnapshotR name HoogleR}>
<input type=search autofocus name=q value=#{queryText} placeholder="Hoogle Search Phrase" .search>
<input .btn type="submit" value="Search">
$maybe packageName <- mPackageName
<input type=hidden name=package value=#{packageName}>
<label .checkbox .exact-lookup for=exact title="Only find identifiers matching your search term precisely">
<input type=checkbox name=exact :exact:checked #exact>
Exact lookup