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
jemc has quit [Quit: WeeChat 1.4]
amclain has quit [Quit: Leaving]
Praetonus has quit [Quit: Leaving]
omarkj_ has joined #ponylang
c355e3b_ has joined #ponylang
eyepatchnhook has joined #ponylang
omarkj has quit [Ping timeout: 246 seconds]
jonas-l has quit [Ping timeout: 246 seconds]
c355e3b has quit [Ping timeout: 246 seconds]
mcguire1 has quit [Ping timeout: 246 seconds]
yawnt has quit [Ping timeout: 246 seconds]
omarkj_ is now known as omarkj
bougyman has quit [Ping timeout: 246 seconds]
bougyman has joined #ponylang
mcguire has joined #ponylang
cquinn has quit [Ping timeout: 246 seconds]
c355e3b_ is now known as c355e3b
yawnt has joined #ponylang
cquinn has joined #ponylang
jemc has joined #ponylang
trapped has joined #ponylang
jemc has quit [Ping timeout: 248 seconds]
tm-exa has joined #ponylang
tm-exa is now known as tm-away
tm-away is now known as tm-exa
lispmeister has joined #ponylang
trapped has quit [Read error: Connection reset by peer]
trapped has joined #ponylang
felixonmars has quit [Changing host]
felixonmars has joined #ponylang
_andre has joined #ponylang
Arch-KT has joined #ponylang
Arch-TK has quit [Ping timeout: 244 seconds]
Praetonus has joined #ponylang
<shepheb> +1 to "type synonym"
<shepheb> "type alias" is fine, all else being equal
<shepheb> but since "aliasing" is such an important and different thing elsewhere, calling the type version something else is better.
TwoNotes has joined #ponylang
Arch-KT is now known as Arch-TK
jemc has joined #ponylang
aturley has joined #ponylang
aturley has quit [Ping timeout: 276 seconds]
aturley has joined #ponylang
<SeanTAllen> Hi all, I started a cookbook style book called "Pony Patterns" this morning. Github repo for source is here: https://github.com/ponylang/pony-patterns. It's hosted at GitBook: https://www.gitbook.com/book/ponylang/pony-patterns/details
amclain has joined #ponylang
<TwoNotes> That will be very helpful. Sometimes the tutorial (and this is not unique to Pony) explains how something works but does not tell you "why would I ever want to use this?"
<SeanTAllen> My slowly moving documentation march continues...
<darach> SeanTAllen: Nice. Does gitbook not support syntax highlighting?
<SeanTAllen> It uses highlight.js
<SeanTAllen> Pony support for that needs to be added to highlight.js
<SeanTAllen> There's an email about that on pony+dev trying to get someone to take that on. So far, no takers Darach.
<darach> Oh. I might pick that up if I get some time next week and the MIPS port goes well this weekend
<SeanTAllen> Excellent.
lispmeister has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aturley has quit [Ping timeout: 240 seconds]
tm-exa has quit [Quit: Computer has gone to sleep]
<jeremyheiler> does anyone maintain the brew package for ponyc?
copy` has joined #ponylang
Matthias247 has joined #ponylang
<SeanTAllen> jeremyheiler: sblessing was working on getting infrastructure in place for nightlies etc
<SeanTAllen> which from that would come doing releases such as brew
<jeremyheiler> ok cool
<SeanTAllen> if you want to step in and help. woot.
<SeanTAllen> the general plan that i came up with was...
<SeanTAllen> dont worry about a release until the pipeline for doing nightlies is taken care of
<SeanTAllen> then releases should be "easy" to do after that
<jeremyheiler> was just noticing that the brew recipe points to old repos (even tho they redirect)
<SeanTAllen> that doing non automated releases sucks
<jeremyheiler> that makes sense
<SeanTAllen> PR away on that
aturley has joined #ponylang
<jeremyheiler> current master doesn't build hello wordl anymore ;-(
<jemc> jeremyheiler: just checked - it builds for me on Fedora Linux
<jemc> with LLVM 3.6
<jemc> what LLVM do you use?
<jeremyheiler> i'm on osx, have both 3.6.2 and 3.8 installed, not sure which one was pulled in tho
<jeremyheiler> it looks like the makefile picks 3.8 first
<jeremyheiler> setting LLVM_CONFIG doesn't seem to make a difference
<jeremyheiler> oops, it does matter. was setting it wrong
<jeremyheiler> works with 3.6.2, not 3.8
<jemc> jeremyheiler: seems like we need to add the compiing of all examples to travis.yml
<jemc> we don't necessarily need to run the examples, but building them would catch things like this
<jemc> (assuming the problem is not just limited to your install of LLVM and ponyc)
<jeremyheiler> i'm not sure if anything other than the location of llvm-config matters
<jeremyheiler> but yeah, i agree compilign them woudl probably help
<Scramble1ams> jemc: Not overriding, overloading. So, I could have "fun foo(bar: A)" and "fun foo(baz: B)". Without overloading, I have to define them as "fun fooTakesA(bar: A)" and "fun fooTakesB(baz: B)".
<jemc> Scramble1ams: ah, I see
<jemc> Scramble1ams: actually we have some form of that, it just isn't in the tutorial yet
<jemc> it's called "case methods" - I'll try to find the ticket for you
<jemc> basically it compiles to a single method with a `case` statement inside
<jemc> hm, can't find the ticket, but give your example a try, naming the argument the same in both cases instead of different (bar, baz)
<jemc> the feature exists, but has some limits, I think
<jemc> still needs documentation and tutorial coverage
<jemc> (and possibly some improvements on usability)
_andre has quit [Quit: leaving]
<Scramble1ams> jemc: Ah, good to hear! I was hoping to see a feature like that.
<Scramble1ams> Wonder why the name of the argument matters, rather than just matching on types. That seems an odd protruberance.
<jemc> remember that you can use `where` keyword in arguments to call arguments by name
<Scramble1ams> Hmm, I'm not seeing how that would make something decidable that wouldn't be equally so by looking at the type?
<jemc> the case methods are not resolved at compile time - they're resolved at runtime using `case`
<Scramble1ams> Ah, right. Then back to my original question: Why no old-fashioned (compile time!) overloading? :-D Just figured there might be a technical justification against it since it wasn't included and that made me curious.
<jemc> since I can't find the ticket and wasn't around at the time this was implemented - I'm not sure what the technical or philosophical justification would be for taking the "case method" approach
<jemc> might be a good question for the mailing list if you want an answer
<SeanTAllen> jeremyheiler: that builds for me. try rm -rf build/* and do it again. see note on the issue.
<jeremyheiler> I am. I did make clean config=release between builds.
<SeanTAllen> Do the Reno e
<SeanTAllen> Remove
<SeanTAllen> Not clean
<SeanTAllen> Rm -rd
<SeanTAllen> Rf
<SeanTAllen> It will work
<SeanTAllen> And I'll update README
<SeanTAllen> And open issue
<SeanTAllen> I meant to do this last week when I found it
<SeanTAllen> But forgot
<jeremyheiler> still doesn't work :-(
<jeremyheiler> is setting LLVM_CONFIG the only thing that needs to be done when selecting with version of llvm to use?
<SeanTAllen> I normally don't set that
<SeanTAllen> What was the rm you ran?
<jeremyheiler> rm -rf build
<jeremyheiler> the default llvm is 3.6.2 for me; same for you?
<SeanTAllen> Nope
<SeanTAllen> 3.8
<jeremyheiler> nvm, llvm-config-3.8 is on my path
<jeremyheiler> same issue when i build without hte LLVM_CONFIG flag
<jeremyheiler> so when i build explicity with 3.6.2, it works
<SeanTAllen> I build on latest OS X w 3.8 constantly
<SeanTAllen> And no issues
<SeanTAllen> When I'm back at computer I can detail what I have
<jeremyheiler> cool
<SeanTAllen> I had the issue you did once when going from one llvm to another and not blowing away build
<SeanTAllen> How'd you install llvm ?
<jeremyheiler> llvm38 directly with brew, llvm 3.6.2 indirectly via installing ponyc with brew
<jeremyheiler> in that order
<jemc> SeanTAllen: it makes sense that it would work for you with 3.8 - also works for jeremyheiler with 3.8
<jemc> err whoops, had that backwards - strike that :P
<jeremyheiler> heh
<SeanTAllen> Remove 3.8
<SeanTAllen> Install again
<SeanTAllen> Then you'll be in the same order as me
<jeremyheiler> install 3.8 again?
<SeanTAllen> If it works, I'll know where to look
<SeanTAllen> Ya
<jeremyheiler> ok
<SeanTAllen> And rm everything in build
<jeremyheiler> uinstalled llvm38, compiled pony, compiled helloworld, good
<jeremyheiler> installed lvm38, compiled pony, compiled helloworld, nope
<jeremyheiler> rm the build dir every time
<SeanTAllen> I wonder if you have a different 3.8
<jeremyheiler> did you install llvm38 with any brew flags?
<jeremyheiler> i uninstalled 3.6.2, so only 3.8 is installed, and same error
<SeanTAllen> I didn't not
<SeanTAllen> What was the command you ran to install 3.8?
<jeremyheiler> brew install llvm38
<SeanTAllen> how'd you uninstall 38?
<jeremyheiler> ^
<jeremyheiler> brew uninstall llvm38
<SeanTAllen> you sure that uninstalled it?
<jeremyheiler> llvm-config-3.8 was no longer on my path
<SeanTAllen> mine will only uninstall if i do brew uninstall --force llvm38
<SeanTAllen> still works
<SeanTAllen> im going to kill my cached, already downloaded bottle
<SeanTAllen> still works
<SeanTAllen> do you have 3.6.2 installed still?
<SeanTAllen> do you have a 3.7 installed?
<jeremyheiler> i am going to uninstall evertying
<jeremyheiler> i don't have 3.7, unless that comes with xcode or something
<SeanTAllen> ok
<SeanTAllen> but 3.6
<SeanTAllen> i am in that state
<SeanTAllen> now
<SeanTAllen> i am trying to replicate
<SeanTAllen> no luck yet
<jeremyheiler> it works in 3.6.2 for me
<SeanTAllen> still works for me
<jeremyheiler> ok, deleted brew cached tar.gz files
<SeanTAllen> i am stumped ATM
<SeanTAllen> doublec is answering mailing list emails. must be morning on the other side of the world
<SeanTAllen> are you on 10.11.4 for osx jeremyheiler ?
<jeremyheiler> yes
<SeanTAllen> which xcode?
<jeremyheiler> 7.3
<SeanTAllen> what patch level?
<SeanTAllen> 7D175?
<jeremyheiler> yes
<doublec> SeanTAllen: that it is :)
<SeanTAllen> clang --version
<SeanTAllen> Apple LLVM version 7.3.0 (clang-703.0.29)
<SeanTAllen> Target: x86_64-apple-darwin15.4.0
<SeanTAllen> Thread model: posix
<SeanTAllen> InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
<SeanTAllen> ?
<jeremyheiler> Apple LLVM version 7.3.0 (clang-703.0.29)
<jeremyheiler> InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
<SeanTAllen> have you tried buying a new computer?
<jeremyheiler> this is a new computer lol
<SeanTAllen> have you tried buying an older computer?
<SeanTAllen> this is totally bizarre
<jeremyheiler> completely
<jeremyheiler> ok, fresh llvm38, rm -rf build, still errros
<jeremyheiler> no 3.6.2
<SeanTAllen> pcre-config --version
<jeremyheiler> 8.38
<SeanTAllen> brew info libressl
<SeanTAllen> ls /Library/Caches/Homebrew/libressl*
<jeremyheiler> libressl-2.3.3.el_capitan.bottle.tar.gz
<SeanTAllen> we have a difference!
<SeanTAllen> let me see
<SeanTAllen> if i can get brew update to run
<jeremyheiler> heh
TwoNotes has quit [Quit: Leaving.]
<SeanTAllen> wow
<SeanTAllen> my homebrew is f'd up
<SeanTAllen> or their shit is
<SeanTAllen> still works
<jeremyheiler> well fudge
<SeanTAllen> i wonder if turning the computer off and on would work
<SeanTAllen> cos you know...
<jeremyheiler> ugh
<SeanTAllen> it might work. that's the worst part.
<SeanTAllen> hmmm
<jeremyheiler> i know i know
<jeremyheiler> i hoped maybe a new terminal window would've done it
<SeanTAllen> huh
<SeanTAllen> ld -v
<jeremyheiler> you're on latest master, right?
<SeanTAllen> yup
<SeanTAllen> ummm
<SeanTAllen> im trying brew install homebrew/versions/llvm38
<SeanTAllen> weird i no longer have a llvm-config-3.8
<jeremyheiler> hmm
<SeanTAllen> homebrew is so rickety
<SeanTAllen> you have an llvm-config-3.8 ?
<jeremyheiler> yes
<SeanTAllen> and that was installed by?
<jeremyheiler> brew install llvm38
<SeanTAllen> i dont get that
<SeanTAllen> what the hell
<jeremyheiler> is llvm38 keg only for you?
<SeanTAllen> ok its there now
<SeanTAllen> maybe user error
<jeremyheiler> when you try to auto complete llvm-config
<jeremyheiler> does it default to 3.8?
<SeanTAllen> yes
<SeanTAllen> still works
<SeanTAllen> i can not make this happen
<jeremyheiler> well, thanks for trying
<SeanTAllen> might as well try restarting
<jeremyheiler> i'll do so later; gotta get some food
aturley has quit [Ping timeout: 246 seconds]
Matthias247 has quit [Read error: Connection reset by peer]
<jeremyheiler> sadly, restarting did not fix it
trapped has quit [Read error: Connection reset by peer]
<SeanTAllen> i wonder if its a difference in hardware
<doublec> jeremyheiler: what's the error you are getting?
<doublec> bizarre
aturley has joined #ponylang
aturley has quit [Ping timeout: 260 seconds]