Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 0102_-_Types_and_objects.jl #9

Merged
merged 1 commit into from
May 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
cd(@__DIR__)
using Pkg
Pkg.activate(".")
## If using a Julia version different than 1.10 please uncomment and run the following line (reproductibility guarantee will hower be lost)
## If using a Julia version different than 1.10 please uncomment and run the following line (reproducibility guarantee will however be lost)
## Pkg.resolve()
## Pkg.instantiate() # run this if you didn't in Segment 01.01
using Random
Expand Down Expand Up @@ -68,7 +68,7 @@ typeof(b)
# - ...
# Complete Number hierarchy: [https://upload.wikimedia.org/wikipedia/commons/d/d9/Julia-number-type-hierarchy.svg](https://upload.wikimedia.org/wikipedia/commons/d/d9/Julia-number-type-hierarchy.svg)

# Everythong is an object, i.e. of some "type":
# Everything is an object, i.e. of some "type":
c = typeof(a)
typeof(c)
d = sin
Expand Down Expand Up @@ -139,4 +139,4 @@ b
c
d
# !!! note
# Consider these memory isues when we'll discuss calling a function by reference/value !
# Consider these memory issues when we'll discuss calling a function by reference/value !
Loading