A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://agda.github.io/agda-stdlib/master/Codata.Sized.Conat.Literals.html below:

Codata.Sized.Conat.Literals

Codata.Sized.Conat.Literals
------------------------------------------------------------------------
-- The Agda standard library
--
-- Conat Literals
------------------------------------------------------------------------

{-# OPTIONS --cubical-compatible --sized-types #-}

module Codata.Sized.Conat.Literals where

open import Agda.Builtin.FromNat using (Number)
open import Data.Unit.Base using ()
open import Codata.Sized.Conat using (Conat; fromℕ)

number :  {i}  Number (Conat i)
number = record
  { Constraint = λ _  
  ; fromNat    = λ n  fromℕ n
  }

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4