Skip to content

Commit

Permalink
Merge pull request #9 from ghmorrison/patch-1
Browse files Browse the repository at this point in the history
Update 0102_-_Types_and_objects.jl
  • Loading branch information
sylvaticus authored May 7, 2024
2 parents 08b66ca + ac9f5be commit 3f5adb7
Showing 1 changed file with 3 additions and 3 deletions.
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 !

0 comments on commit 3f5adb7

Please sign in to comment.