-
Notifications
You must be signed in to change notification settings - Fork 2
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
try putting inject and lift instances in companion objects #2
Comments
first crack - https://github.com/beezee/ldr/compare/fuck_a_duck I don't think it's right, specifically I don't think that What I'm seeing is this scala/bug#9445 and whether or not the concern in prior paragraph is waiting behind it or not, I'm not sure I have a path to even find out. |
oh ha this was an attempt to put transform in companion not inject and lift. Those are probably (hopefully? simpler) |
LOLOLOLOLOLOLOL - https://github.com/beezee/ldr/compare/fuck_another_duck proven it works, tested ok when manually added to 3 arity. generate whole cloth, compiler doesn't terminate. motherfucker. compile performance is always going to be a top fucking priority for this. it's methadone for scala devs. side note, why I needed to import companion object for resolution to work, idk. am I stupid or is it a broken promise? |
look back at this with compiler statistics on. there's some interesting data to take. hunch right now is that iota wouldn't even have been an issue, mainly the matches on / in the iota helpers were costing time in patmat. |
if it works it eliminates need for imports and sets precedent for other provided typeclasses.
The text was updated successfully, but these errors were encountered: