-
similar to the stepped way that compilation happens at the module level, where each top-level statement can modify the environment to add new compile-able forms and macros for the next expression
s…
-
``` scala
ollie-scalafmt@ "var x: Int = _".parse[Stat].asInstanceOf[internal.ast.Defn.Var]
res33: internal.ast.Defn.Var = var x: Int = _
ollie-scalafmt@ res33.rhs
res34: Option[internal.ast.Term] = No…
-
Prerequisites:
- [x] Online mirror with support for Ref.symbol (#606)
- [ ] Term.tpe (#611)
Following #611, we'd like to implement support for the following operations on types, inspired by o…
-
Resolution of this issue should also come with a -no-specialization nightly build.
- Check out https://github.com/lrytz/scala/tree/no-spec
- ant -Dlocker.skip=true -Dscalac.args="-no-specializat…
-
I got an error like this in 'hy 0.13.0+50.gd9a5acb using CPython(default) 3.5.3 on Linux'.
```
(defn total-purchase [price amount &optional [fees 1.05] [vat 1.1]]
(* price amount fees vat))
…
-
I'm hoping to be able to define my types in one module and write queries using those types in another module. E.g.
```
{-# LANGUAGE GADTs #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TemplateHas…
-
Scalac generates different bytecode depending on the order in which files are passed on the command line. Or equivalently, for a full build vs an incremental build.
```
// Main.scala
class Main …
-
I made the completions for rlwrap from HyperDraft.
You can use with putting into your home directory '~/.kiss_completions'
and type just ``rlwrap kiss -b '(){}[].,#@;|`' ``.
Would you like to a…
-
At the moment following fails:
```
scala> val q"$a $b $c $d $e" = q"x + y * z"
scala.MatchError: x + y * z (of class scala.meta.internal.ast.Term$ApplyInfix$Impl)
... 43 elided
```
Dveim updated
7 years ago
-
I haven't investigated yet, but this is what I currently get when trying to compile `pointed-5`:
```
[1 of 2] Compiling Data.Copointed ( src/Data/Copointed.hs, /tmp/pointed-5/dist-newstyle/build/po…