Functional Programming - 包涵卿@HANKBAO 瀑布IM  ## WHAT Functional programming is a programming paradigm 1. treats computation as the evaluation of mathematical 2. avoids changing-state and mutable data - Wikipedia ## PARADIGM Declarative Programming Functional Programming Dataflow Programming Reactive Programming Imperative Programming Object-Oriented collation.sortedArrayFromArray(wrappers, collationStringSelector: Wrapper.selector) ## FUNCTIONAL ABSTRACTION ## OPTIONAL enum Optional{ case None case Some(T) ## OPTIONAL func map(f:0 码力 | 38 页 | 1.33 MB | 2 年前3
Applicative: The Forgotten Functional Pattern## Applicative: The Forgotten Functional Pattern ## +23 ## BEN DEANE ## 20 23 October 01 - 06 ## APPLICATIVE THE FORGOTTEN FUNCTIONAL PATTERN  kind kind of understand how they work ## FIRST, A QUICK SURVEY • I've heard of these functional patterns, but that's all • I (think I) kind of understand how they work • I don't see many use cases0 码力 | 141 页 | 11.33 MB | 1 年前3
Back To Basics: Functional Programming in C++## +24 ## Back To Basics Functional Programming in C++ JONATHAN MÜLLER ## What is functional programming? ## I mperative Programming ## Definition Specify instructions that manipulate state in order Haskell, Prolog ■ formal grammar thermostat ## Functional Programming ## Definition Declarative programming by composing functions. ## Functional Programming ## Definition Declarative programming programming by composing functions. fac :: Int -> Int fac 0 = 1 fac n = n * fac (n - 1) ## Functional Programming ## Definition Declarative programming by composing functions. fac :: Int -> Int fac 00 码力 | 178 页 | 918.67 KB | 1 年前3
Leveraging a Functional Approach for More Testable and Maintainable ROS 2 Code## +23 ## Leveraging a Functional Approach for More Testable and Maintainable ROS 2 Code BILAL GILL 20 23 October 01 - 06 ## Outline • Introduction • Overview of ROS 2 ROS 2 Conventional Approach Approach - Introduction to Functional Programming Principles - Refactoring using Functional Programming Principles • Conclusion  that are well-established in the async, non-blocking space. The other part of the answer is functional programming. Much as the addition of annotations in Java 5 created opportunities (such as annotated controllers or unit tests), the addition of lambda expressions in Java 8 created opportunities for functional APIs in Java. This is a boon for non-blocking applications and continuation-style APIs (as popularized0 码力 | 182 页 | 2.52 MB | 2 年前3
Spring Boot 2.6.0-m2 Reference Documentation1. Enabling Production-ready Features ..... 300 13.2. Endpoints ..... 300 13.2.1. Enabling Endpoints ..... 302 13.2.2. Exposing Endpoints ..... 303 13.2.3. Security ..... 305 Cross Site Request 307 13.2.4. Configuring Endpoints ..... 307 13.2.5. Hypermedia for Actuator Web Endpoints ..... 308 13.2.6. CORS Support ..... 308 13.2.7. Implementing Custom Endpoints ..... 309 Receiving Receiving Input ..... 309 Custom Web Endpoints ..... 310 Servlet Endpoints ..... 312 Controller Endpoints ..... 312 13.2.8. Health Information ..... 312 Auto-configured HealthIndicators0 码力 | 708 页 | 13.90 MB | 1 年前3
More Ranges Pleasedecades of existing libraries and experience ☐ C++98 iterator-based algorithms o Fundamentals of functional / vectoric languages (APL, BQN, R, Julia, NumPy) Conor Hoekstra ☐ Libraries of similar languages0 码力 | 27 页 | 1.08 MB | 1 年前3
Spring Framwork Integration v5.3.36 SNAPSHOTIntegration Version 5.3.36-SNAPSHOT ## Table of Contents 1. REST Endpoints ..... 2 1.1. RestTemplate ..... 2 1.1.1. Initialization ..... 3 URIs ..... 3 Headers ..... 4 1.1.2. Body ..... 4 Messages Within Transactions ..... 43 4.4. Support for JCA Message Endpoints ..... 44 4.5. Annotation-driven Listener Endpoints ..... 46 4.5.1. Enable Listener Endpoint Annotations ..... 47 4.5 integration with a number of technologies. ### Chapter 1. REST Endpoints The Spring Framework provides two choices for making calls to REST endpoints: • RestTemplate: The original Spring REST client with a0 码力 | 141 页 | 2.13 MB | 2 年前3
The Idris Tutorial Version 1.0Idris Language. It covers the core language features, and assumes some familiarity with an existing functional programming language such as Haskell or OCaml. Note: The documentation for Idris has been published Vect n a -> Vect m a -> Vect (n + m) a This tutorial introduces Idris, a general purpose functional programming language with dependent types. The goal of the Idris project is to build a dependently intended as a brief introduction to the language, and is aimed at readers already familiar with a functional language such as Haskell or OCaml. In particular, a certain amount of familiarity with Haskell0 码力 | 223 页 | 1.21 MB | 2 年前3
Monads in Modern C++Bloomberg Finance L.P. All rights reserved. Bloomberg Engineering ## Monad: a definition In functional programming, a monad is a structure that combines program fragments (functions) and wraps their (such as dealing with undefined values or fallible functions, or encapsulating bookkeeping code). Functional languages use monads to turn complicated sequences of functions into succinct pipelines that abstract Bloomberg Finance L.P. All rights reserved. Bloomberg Engineering ## Monad: a definition In functional programming, a monad is a structure that combines program fragments (functions) and wraps their0 码力 | 94 页 | 4.56 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
函数式编程Swift数学函数可变数据编程范式Applicative FunctorsFunctorMonadFunction ApplicationC++Functional ProgrammingDeclarative ProgrammingBuilding BlocksCompositionROS 2可测试性可维护性面向对象编程Spring WebFluxReactive StreamsNon-blocking I/OReactorFunctional EndpointsSpring BootActuatorEndpointsMetricsHealthRangescomposabilitylazy rangesfunctional languagesSpring FrameworkREST EndpointsJMSTask Execution and SchedulingJMXIdrisdependent typestype systemfunctional programmingside effectsMonadsModern C++std::futureBind













