<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.conservapedia.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Latson19</id>
	<title>Conservapedia - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.conservapedia.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Latson19"/>
	<link rel="alternate" type="text/html" href="https://www.conservapedia.com/Special:Contributions/Latson19"/>
	<updated>2026-11-24T20:09:53Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://www.conservapedia.com/index.php?title=Reification_(programming)&amp;diff=665190</id>
		<title>Reification (programming)</title>
		<link rel="alternate" type="text/html" href="https://www.conservapedia.com/index.php?title=Reification_(programming)&amp;diff=665190"/>
		<updated>2009-05-21T01:05:28Z</updated>

		<summary type="html">&lt;p&gt;Latson19: Created page with ''''Reification''' is a concept in functional programming specifically concerned with the implementation of lazy evaluation by the suspension of a computation in a...'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Reification''' is a concept in [[functional programming]] specifically concerned with the implementation of [[lazy evaluation]] by the [[suspension]] of a [[computation]] in a [[lambda]].&lt;br /&gt;
&lt;br /&gt;
Suppose we wish to compute the value of &amp;quot;x+y&amp;quot; in a [[lazy]] functional programming language such as [[Haskell]] or [[Nero]]. This is done with the functional expression &amp;lt;code&amp;gt;(+ x y)&amp;lt;/code&amp;gt;. However, if the value of &amp;lt;code&amp;gt;y&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt; or perhaps unknown in the current [[context]], this expression will [[segmentation fault|segfault]]. Furthermore, the operation &amp;lt;code&amp;gt;+&amp;lt;/code&amp;gt; may be expensive, for example if it represents [[string]] concatenation. Therefore, it is useful to wrap the computation in a [[lambda]], like so: &amp;lt;code&amp;gt;(if (nor (isNil x) (isNil y)) (+ x y) else (yield))&amp;lt;/code&amp;gt;. This &amp;quot;wrapping&amp;quot; process is referred to in the [[literature]] as &amp;quot;ification&amp;quot;, since a lambda is fundamentally equivalent to an &amp;lt;code&amp;gt;if&amp;lt;/code&amp;gt; in functional languages.&lt;br /&gt;
&lt;br /&gt;
Ification (a special case of [[lambda lifting]]) prevents the premature evaluation of the wrapped computation. However, it doesn't do anything to ensure lazy computation &amp;amp;mdash; that is, the computation might be evaluated safely but unnecessarily. Therefore, a second lambda is placed around the computation, this time to ensure that the computation is never performed ''until'' and ''unless'' it absolutely needs to be. This second lambda-lifting step is performed quietly behind the scenes in lazy languages such as Nero, but conceptually it looks like this: &amp;lt;code&amp;gt;(if (result_requested) if (nor (isNil x) (isNil y)) (+ x y) else2 (yield))&amp;lt;/code&amp;gt;. This second step is referred to as &amp;quot;reification&amp;quot;, and it is where lazy languages like Haskell derive most of their power.&lt;br /&gt;
&lt;br /&gt;
[[Category:Computer Programming]]&lt;/div&gt;</summary>
		<author><name>Latson19</name></author>
	</entry>
	<entry>
		<id>https://www.conservapedia.com/index.php?title=Reification&amp;diff=665189</id>
		<title>Reification</title>
		<link rel="alternate" type="text/html" href="https://www.conservapedia.com/index.php?title=Reification&amp;diff=665189"/>
		<updated>2009-05-21T01:05:06Z</updated>

		<summary type="html">&lt;p&gt;Latson19: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''See also: [[Reification (programming)]]''&lt;br /&gt;
&lt;br /&gt;
'''Reification''' is the process of giving material form to an abstract concept or idea. It is a common device in [[literature]]; for example, in ''Lord of the Flies'' by [[William Golding]], the boar's head that the boys worship might be said to reify their descent from [[civilization]] into [[barbarism]]. Reification can also take place in [[politics]] and [[law]], as social mores and [[taboo]]s are given tangible enforcement: for example, [[South Africa]]'s twentieth century [[apartheit]] laws could be seen as a reification of the [[racism]] ingrained in that country's society at the time.&lt;br /&gt;
&lt;br /&gt;
[[Category:Literary Devices]]&lt;br /&gt;
[[Category:Psychology]]&lt;/div&gt;</summary>
		<author><name>Latson19</name></author>
	</entry>
</feed>