helpa-0.4.6.0: HELPA - Heavenly Esoteric Little Portable Assembler to esoteric languages

Safe Haskell | None
Language | Haskell2010

HelVM.HelPA.Assembler.Extra

# Documentation

type WithAddress a = (a, Address) #

withAddresses :: [a] -> [WithAddress a] #

type WithSymbol a = (a, Symbol) #

withSymbols :: [a] -> [WithSymbol a] #

type LabelAddresses = Map Identifier Address #

type LabelSymbols = Map Identifier Symbol #

type SymbolList = [Symbol] #

type Address = Natural #

type Symbol = Integer #

flippedToMapFromLists :: Ord k => [v] -> [[k]] -> Map k v #

toMapFromLists :: Ord k => [[k]] -> [v] -> Map k v #

toMap :: Ord k => [([k], v)] -> Map k v #

setDefault :: ([k], v) -> [(k, v)] #