StackOverflow Questions for Tag: pure-function

Bappy
Bappy

Reputation: 3

Can this function be called pure?

Score: -3

Views: 112

Answers: 3

Read More
Anon
Anon

Reputation: 175

Validity of `__attribute__((pure))`

Score: 1

Views: 50

Answers: 0

Read More
sreysus
sreysus

Reputation: 121

Motivating pure functions: are all pure functions commutative in execution order?

Score: 1

Views: 57

Answers: 1

Read More
Enlico
Enlico

Reputation: 28366

Will it be possible in the foreseeable future to enforce purity/referential transparency in C++?

Score: 0

Views: 78

Answers: 0

Read More
Alan Kersaudy
Alan Kersaudy

Reputation: 891

Persistant data, pure functions and RAM

Score: 2

Views: 65

Answers: 0

Read More
bbnn
bbnn

Reputation: 3602

Can a pure function call external function?

Score: 12

Views: 3131

Answers: 3

Read More
ach
ach

Reputation: 1

How should I use JML to indicate that a java.util.function.Function object's apply method is pure?

Score: 0

Views: 69

Answers: 0

Read More
L. Pier Roberto
L. Pier Roberto

Reputation: 750

Why props in React are read only?

Score: 16

Views: 22748

Answers: 2

Read More
Devesh Pradhan
Devesh Pradhan

Reputation: 189

How are NgRx Selectors and Reducers pure functions?

Score: 0

Views: 193

Answers: 2

Read More
Lai Yu-Hsuan
Lai Yu-Hsuan

Reputation: 28071

Are idempotent functions the same as pure functions?

Score: 80

Views: 13476

Answers: 8

Read More
user129393192
user129393192

Reputation: 1239

How can passing the `IO ()` to `main` be considered pure?

Score: 1

Views: 113

Answers: 1

Read More
XaLVa
XaLVa

Reputation: 27

How to implement db capability approach with pure functions in F#?

Score: 2

Views: 75

Answers: 1

Read More
linus
linus

Reputation: 11

Pure functional way of creating a std::optional counterpart

Score: 1

Views: 62

Answers: 0

Read More
DBK
DBK

Reputation: 403

Angular Change Detection and array.includes

Score: 0

Views: 46

Answers: 1

Read More
halloleo
halloleo

Reputation: 10354

Can I make a pure Haskell function wait for 2 seconds?

Score: 0

Views: 220

Answers: 2

Read More
Peter Gerdes
Peter Gerdes

Reputation: 2978

Terser: Annotate function as always pure (and what does it mean)

Score: 2

Views: 599

Answers: 1

Read More
daego
daego

Reputation: 319

In functional programming, how to convert a function which uses global variables into a pure function?

Score: 0

Views: 37

Answers: 0

Read More
aName
aName

Reputation: 3043

Why is println considered an impure function?

Score: 10

Views: 1403

Answers: 5

Read More
Lucas
Lucas

Reputation: 138

How pure should a function be when writing in React?

Score: 1

Views: 714

Answers: 2

Read More
rwallace
rwallace

Reputation: 33365

Functions that have no effect on global state

Score: 1

Views: 43

Answers: 0

Read More
PreviousPage 1Next