Download liquid/src/MP/Liquid/Smoke.hs from SNAPKITTYWEST/montrepol: direct link, hf CLI and curl.
- Browser
- Download file 191 Bytes
-
https://huggingface.co/SNAPKITTYWEST/montrepol/resolve/main/liquid/src/MP/Liquid/Smoke.hs
- Command line
-
hf download hf://SNAPKITTYWEST/montrepol/liquid/src/MP/Liquid/Smoke.hs
-
curl -L -o Smoke.hs https://huggingface.co/SNAPKITTYWEST/montrepol/resolve/main/liquid/src/MP/Liquid/Smoke.hs
191 Bytes
| -- SPDX-License-Identifier: AGPL-3.0-or-later | |
| module MP.Liquid.Smoke (clampNat) where | |
| {-@ clampNat :: Int -> {v:Int | v >= 0} @-} | |
| clampNat :: Int -> Int | |
| clampNat x = if x < 0 then 0 else x | |