jemc changed the topic of #ponylang to: Welcome! Please check out our Code of Conduct => https://github.com/ponylang/ponyc/blob/master/CODE_OF_CONDUCT.md | Public IRC logs are available => http://irclog.whitequark.org/ponylang | Please consider participating in our mailing lists => https://pony.groups.io/g/pony
gokr has quit [Ping timeout: 260 seconds]
mahmudov has joined #ponylang
mahmudov has quit [Read error: Connection reset by peer]
mahmudov has joined #ponylang
jemc has quit [Ping timeout: 240 seconds]
jemc has joined #ponylang
khan has joined #ponylang
dubiousjim has joined #ponylang
dubiousjim has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pyrrh has quit [Remote host closed the connection]
jemc has quit [Ping timeout: 240 seconds]
jemc has joined #ponylang
gokr has joined #ponylang
gokr has quit [Ping timeout: 256 seconds]
jemc has quit [Ping timeout: 255 seconds]
gokr has joined #ponylang
_whitelogger_ has joined #ponylang
_whitelogger has quit [Ping timeout: 276 seconds]
srenatus has joined #ponylang
khan has quit [Quit: khan]
codec1 has joined #ponylang
dipin has joined #ponylang
mahmudov has quit [Ping timeout: 256 seconds]
milisarge has quit [Ping timeout: 264 seconds]
codec1 has quit [Quit: Leaving.]
codec1 has joined #ponylang
milisarge has joined #ponylang
mollymorphic has quit [Ping timeout: 248 seconds]
gokr has quit [Ping timeout: 276 seconds]
mollymorphic has joined #ponylang
khan has joined #ponylang
codec1 has quit [Read error: Connection reset by peer]
gokr has joined #ponylang
codec1 has joined #ponylang
mahmudov has joined #ponylang
alxs has joined #ponylang
alxs has quit [Client Quit]
dipin has quit [Quit: dipin]
alxs has joined #ponylang
mahmudov has quit [Ping timeout: 248 seconds]
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
gokr has quit [Quit: Leaving.]
alxs has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
khan has quit [Quit: khan]
mahmudov has joined #ponylang
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
alxs has joined #ponylang
jemc has joined #ponylang
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
alxs has joined #ponylang
mahmudov has quit [Ping timeout: 248 seconds]
milisarge has quit [Ping timeout: 255 seconds]
zeta is now known as Guest3807
Guest3807 has quit [Killed (wilhelm.freenode.net (Nickname regained by services))]
Guest3807 has joined #ponylang
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
m6w6 has quit [Quit: ZNC - http://znc.in]
dipin has joined #ponylang
m6w6 has joined #ponylang
dipin has quit [Quit: dipin]
alxs has joined #ponylang
alxs has quit [Client Quit]
Praetonus has joined #ponylang
alxs has joined #ponylang
m6w6 has quit [Read error: Connection reset by peer]
m6w6 has joined #ponylang
codec1 has quit [Read error: Connection reset by peer]
winksaville has quit [Quit: Page closed]
winksaville has joined #ponylang
codec1 has joined #ponylang
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
m6w6 has quit [Quit: ZNC - http://znc.in]
m6w6 has joined #ponylang
m6w6 has quit [Client Quit]
m6w6 has joined #ponylang
alxs has joined #ponylang
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
alxs has joined #ponylang
alxs has quit [Client Quit]
alxs has joined #ponylang
alxs has quit [Client Quit]
trevorriles has joined #ponylang
mahmudov has joined #ponylang
trevorriles has left #ponylang [#ponylang]
zaiste has joined #ponylang
alxs has joined #ponylang
alxs has quit [Client Quit]
alxs has joined #ponylang
alxs has quit [Client Quit]
jemc has quit [Ping timeout: 256 seconds]
jemc has joined #ponylang
alxs has joined #ponylang
nisanharamati has joined #ponylang
alxs has quit [Client Quit]
alxs has joined #ponylang
alxs has quit [Client Quit]
alxs has joined #ponylang
alxs has quit [Client Quit]
alxs has joined #ponylang
alxs has quit [Client Quit]
alxs has joined #ponylang
alxs has quit [Quit: Bye y'all!]
zaiste has quit [Quit: Textual IRC Client: www.textualapp.com]
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
dipin has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
xllndr has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
_andre has quit [Quit: leaving]
dougmacdoug has joined #ponylang
<dougmacdoug> how does the new keyword work on primitives? Its used on the builtins like F32.epsilon() but I didnt see anything in the docs
<Praetonus> dougmacdoug: Not sure what you mean by "how does it work". Do you have an example to illustrate your question?
<dougmacdoug> new min_value() =>
<dougmacdoug> """
<dougmacdoug> Minimum negative value representable.
<dougmacdoug> """
<dougmacdoug> from_bits(0xFF7FFFFF)
<dougmacdoug> from primitive F32
<dougmacdoug> is it compiled into a constant? what type does the numeric value have what capabilities does it have
<SeanTAllen> dougmacdoug: F32.min_value()
<dougmacdoug> yeah, i know how to call it.. i am just trying to comprehend how it works and is there any use case for the new keyword on primitives outside compile_intrinsic
<Praetonus> Numeric primitives are special-cased in the code generator. Their constructors are compiled as functions returning plain numeric values
<jemc> dougmacdoug: the "machine word" / numeric primitives are kind of a special case for how they work
<dougmacdoug> ok.. makes sense.. so then user defined primitives should always use fun ?
<Praetonus> You can use a constructor on an user defined primitive if you want to run some code every time the primitive instance is accessed
<jemc> all other `primitive`s in Pony are singleton, stateless, immutable value that represents a pointer to a bag of functions
<Praetonus> e.g. if you have a primitive `Prim` with a `create` constructor, using `Prim` as an expression will be sugared to `Prim.create()`, which will execute the code in the constructor and return the singleton instance of `Prim`
khan has quit [Quit: khan]
<dougmacdoug> ok.. yeah, I got most of that from the docs but browsing the builtin led me to wonder about new keyword. thanks.
<jemc> what is the new keyword you're referring to?
<dougmacdoug> "new"
<SeanTAllen> krig: you around?
xllndr has quit [Quit: Leaving]
<SeanTAllen> krig: i sent some pony-sform feedback, mostly in the way of questions.
dougmacdoug has quit [Quit: dougmacdoug]