Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit cda5e3d

Browse files
committed
🔥 Namespaced.
1 parent 467292d commit cda5e3d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

semantic-core/src/Data/Name.hs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{-# LANGUAGE DeriveTraversable, ExistentialQuantification, FlexibleContexts, FlexibleInstances, GeneralizedNewtypeDeriving, LambdaCase, MultiParamTypeClasses, OverloadedLists, OverloadedStrings, StandaloneDeriving, TypeApplications, TypeOperators, UndecidableInstances #-}
22
module Data.Name
33
( User
4-
, Namespaced
54
, Named(..)
65
, named
76
, named'
@@ -25,11 +24,6 @@ import Data.Text.Prettyprint.Doc (Pretty (..))
2524
-- | User-specified and -relevant names.
2625
type User = Text
2726

28-
-- | The type of namespaced actions, i.e. actions occurring within some outer name.
29-
--
30-
-- This corresponds to the @Agent@ type synonym described in /I Am Not a Number—I Am a Free Variable/.
31-
type Namespaced a = Gensym -> a
32-
3327
-- | Annotates an @a@ with a 'User'-provided name, which is ignored for '==' and 'compare'.
3428
data Named a = Named (Ignored User) a
3529
deriving (Eq, Foldable, Functor, Ord, Show, Traversable)

0 commit comments

Comments
 (0)