Skip to content

Commit

Permalink
export getEvalPosition
Browse files Browse the repository at this point in the history
  • Loading branch information
pwang7 authored and quark17 committed Dec 19, 2022
1 parent 2005df7 commit b4657f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Libraries/Base1/Prelude.bs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ package Prelude(
StringProxy,
_when_,
primExtract,
Position__, getStringPosition, setStringPosition, printPosition, noPosition,
Position__, getStringPosition, setStringPosition, printPosition, noPosition, getEvalPosition,
Type, typeOf, printType, isInterfaceType,
forceIsModule,
Name__, primGetName, primMakeName, primJoinNames, primExtendNameIndex,
Expand Down Expand Up @@ -2442,6 +2442,9 @@ primitive primGetNameString :: Name__ -> String

primitive primGetEvalPosition :: a -> Position__

getEvalPosition :: a -> Position__
getEvalPosition = primGetEvalPosition

-- type primitives

primitive type Type :: *
Expand Down

0 comments on commit b4657f0

Please sign in to comment.