码迷,mamicode.com
首页 >  
搜索关键字:bind2nd functional    ( 590个结果
cons、car与cdr的实现
以前读 SICP ,虽然很有趣,但并没有讲 cons、car与cdr是怎样实现的。今天读 the implementation of functional programming languages ,里面讲到了如何用lambda实现这三个函数,这里给出用 scheme 和 javascript 改 ...
分类:其他好文   时间:2018-02-10 23:28:08    阅读次数:443
2017.2.8-9 “PL part C:OOP”
虽然以前在python中也接触过OOP,但是不系统,而且自己写python肯定也是不会写成OOP风格的。 现在相对系统的学习OOP的概念,感觉。。。很难受! 有点像一开始学ML时候的感觉,就是接触了很多新概念,但是比那还困难,因为学functional programming是带着问题学的,所以掌握 ...
分类:其他好文   时间:2018-02-10 11:24:38    阅读次数:173
[Hyperapp] Interact with the State Object through Hyperapp Action functions
Hyperapp is an ultra lightweight (1kb), minimal, functional, JavaScript library for building UIs. It comes with a VDOM engine and state management wit ...
分类:移动开发   时间:2018-02-07 19:51:34    阅读次数:261
slick对超过22个属性的表进行映射的两种办法
slick是scala的一个FRM(Functional Relational Mapper)框架,即函数式的关系数据库编程工具库。使用slick不同于使用java的hibernate或者是mybatis,对其进行迭代开发非常方便,因为其对表的映射基于函数式的编程方式。 使用slick对数据库表映射 ...
分类:其他好文   时间:2018-02-06 01:03:42    阅读次数:258
[React] Refactor a Stateful List Component to a Functional Component with React PowerPlug
In this lesson we'll look at React PowerPlug's <List /> component by refactoring a normal class component with state and handlers to a functional comp ...
分类:其他好文   时间:2018-01-31 11:19:04    阅读次数:157
编程语言共性之------什么是函数式编程?
诞生50多年之后,函数式编程(functional programming)开始获得越来越多的关注。 不仅最古老的函数式语言Lisp重获青春,而且新的函数式语言 层出不穷,比如Erlang、clojure、Scala,、F#等等。目前最当红的Python、Ruby、Javascript,对函数式编程 ...
分类:编程语言   时间:2018-01-28 16:35:53    阅读次数:239
CNN的发展
最初模型的建立: 1959年,Hubel & Wiesel发现动物视觉皮层中的细胞负责检测感受野(receptive fields)中的光线。论文:Receptive fields and functional architecture of monkey striate cortex(1968) ...
分类:其他好文   时间:2018-01-27 17:10:18    阅读次数:438
2018.1.25-26
现在讲到的匿名函数,map,filter,reduce啥的看起来更像我之前接触到functional programming了,比上一章的patern matching有趣多了。不过后边讲到closure和currying啥的又把我搞糊涂了。 说实话我现在还是不是特别清楚closure具体是什么,它 ...
分类:其他好文   时间:2018-01-27 11:41:20    阅读次数:168
RxJava的Action
A functional interface similar to Runnable but allows throwing a checked exception. public interface Action { /** * Runs the action and optionally thr ...
分类:编程语言   时间:2018-01-22 10:57:17    阅读次数:181
函数配接器
1. 定义: STL中的函数配接器,能够将函数子和另一个函数子、常数、普通函数结合起来。 STL中的函数配接器一共有4个,分别是: bind1nd(op ,value) 相当于构成op(value,param),即把value结合成op的第一个参数; bind2nd(op ,value) 相当于构成 ...
分类:其他好文   时间:2018-01-19 23:26:38    阅读次数:156
590条   上一页 1 ... 19 20 21 22 23 ... 59 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!