EconPapers    
Economics at your fingertips  
 

User Defined Data Structures and the Type System

Clemens Heitzinger ()
Additional contact information
Clemens Heitzinger: Technische Universität Wien, Center for Artificial Intelligence and Machine Learning (CAIML) and Department of Mathematics and Geoinformation

Chapter Chapter 5 in Algorithms with JULIA, 2022, pp 79-98 from Springer

Abstract: Abstract Data types defined by the programmer are indistinguishable from built-in types in Julia. In this chapter, it is first explained how variables and return values can be annotated with types and how Julia’s introspective features can be used to inspect the type system. Types that can be defined by the programmer include abstract types, concrete types, composite types, type unions, and tuples. Custom constructors and pretty printers can be defined as well. Furthermore, abstract and composite types can be parameterized. Finally, the operations on types are summarized.

Date: 2022
References: Add references at CitEc
Citations:

There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:spr:sprchp:978-3-031-16560-3_5

Ordering information: This item can be ordered from
http://www.springer.com/9783031165603

DOI: 10.1007/978-3-031-16560-3_5

Access Statistics for this chapter

More chapters in Springer Books from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2026-05-22
Handle: RePEc:spr:sprchp:978-3-031-16560-3_5