摘要: 关闭idea 打开项目所在位置并cd .idea 修改scala_compiler.xml文件 删除掉参数行包含-make:transitive 保存后退出编辑并重启idea打开项目 阅读全文
posted @ 2018-01-23 12:15 指针怒草内存栈 阅读(2935) 评论(0) 推荐(0) 编辑
摘要: =>这符号其实是映射转化的意思,个人理解,可能不准确, var increase = (x: Int) => x + 1 increase(10) res0: Int = 11 意思就是你输入 整数时候 ,会转换到右边 x 然后赋值给increase 阅读全文
posted @ 2018-01-23 09:39 指针怒草内存栈 阅读(264) 评论(0) 推荐(0) 编辑