Deprecated: Return type of WP_Theme::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/class-wp-theme.php on line 554

Deprecated: Return type of WP_Theme::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/class-wp-theme.php on line 595

Deprecated: Return type of WP_Theme::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/class-wp-theme.php on line 535

Deprecated: Return type of WP_Theme::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/class-wp-theme.php on line 544

Deprecated: Return type of WP_REST_Request::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/rest-api/class-wp-rest-request.php on line 952

Deprecated: Return type of WP_REST_Request::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/rest-api/class-wp-rest-request.php on line 972

Deprecated: Return type of WP_REST_Request::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/rest-api/class-wp-rest-request.php on line 984

Deprecated: Return type of WP_REST_Request::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/rest-api/class-wp-rest-request.php on line 995

Deprecated: Return type of WP_Block_List::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/class-wp-block-list.php on line 151

Deprecated: Return type of WP_Block_List::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/class-wp-block-list.php on line 175

Deprecated: Return type of WP_Block_List::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/class-wp-block-list.php on line 164

Deprecated: Return type of WP_Block_List::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/class-wp-block-list.php on line 186

Deprecated: Return type of WP_Block_List::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/class-wp-block-list.php on line 138

Deprecated: Return type of WP_Block_List::offsetExists($index) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/class-wp-block-list.php on line 75

Deprecated: Return type of WP_Block_List::offsetGet($index) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/class-wp-block-list.php on line 89

Deprecated: Return type of WP_Block_List::offsetSet($index, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/class-wp-block-list.php on line 110

Deprecated: Return type of WP_Block_List::offsetUnset($index) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/class-wp-block-list.php on line 127

Deprecated: Return type of WP_Block_List::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/smartva9/public_html/smartvania/wp-includes/class-wp-block-list.php on line 199

Deprecated: Optional parameter $criteria declared before required parameter $revision_history is implicitly treated as a required parameter in /home1/smartva9/public_html/smartvania/wp-content/plugins/jetpack/_inc/lib/class.media.php on line 293

Deprecated: Optional parameter $post_url declared before required parameter $height is implicitly treated as a required parameter in /home1/smartva9/public_html/smartvania/wp-content/plugins/jetpack/class.jetpack-post-images.php on line 781

Deprecated: Optional parameter $value declared before required parameter $param is implicitly treated as a required parameter in /home1/smartva9/public_html/smartvania/wp-content/plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php on line 2792

Deprecated: Optional parameter $value declared before required parameter $param is implicitly treated as a required parameter in /home1/smartva9/public_html/smartvania/wp-content/plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php on line 2810

Deprecated: Optional parameter $value declared before required parameter $param is implicitly treated as a required parameter in /home1/smartva9/public_html/smartvania/wp-content/plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php on line 2841

Deprecated: Optional parameter $value declared before required parameter $param is implicitly treated as a required parameter in /home1/smartva9/public_html/smartvania/wp-content/plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php on line 2866

Deprecated: Optional parameter $value declared before required parameter $param is implicitly treated as a required parameter in /home1/smartva9/public_html/smartvania/wp-content/plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php on line 2884

Deprecated: Optional parameter $value declared before required parameter $param is implicitly treated as a required parameter in /home1/smartva9/public_html/smartvania/wp-content/plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php on line 3026

Deprecated: Optional parameter $value declared before required parameter $param is implicitly treated as a required parameter in /home1/smartva9/public_html/smartvania/wp-content/plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php on line 3055

Deprecated: Optional parameter $value declared before required parameter $param is implicitly treated as a required parameter in /home1/smartva9/public_html/smartvania/wp-content/plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php on line 3073

Deprecated: Optional parameter $slug declared before required parameter $attr is implicitly treated as a required parameter in /home1/smartva9/public_html/smartvania/wp-content/plugins/jetpack/class.jetpack-gutenberg.php on line 844

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home1/smartva9/public_html/smartvania/wp-includes/class-wp.php on line 173

Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /home1/smartva9/public_html/smartvania/wp-includes/wp-db.php on line 3031
SmartVania – Page 10 – Village of wisdom
Programming, Racket

How to reverse a list recursively in Racket

(define (yani-reverse L) [if (null? L) null [append (yani-reverse (rest L))(list [first L])]]) In plain racket, define is used to define functions and variables. The syntax, comes (define id expr) or (define (head args) body++) Above I defined a function called yani-reverse with L as argument which in this case is a list, parenthesizes and…


Continue Reading

Recent Posts

Assembly, Programming

Introduction to MIPS

This tutorial will get you up and running with the great MIPS instruction set. MIPS stands for Microprocessor without Interlocked Pipeline Stages, and it is a Reduced Instruction Set Computer assembly language. That means that the creators of MIPS designed it to be reduced or simplified, which is the reason that many universities around the…

Continue Reading

Linear Algebra

Vector Space

Vector space is a set of “vectors” with a notion of Addition such that: V is closed under addition V is commutative V is associative For every A there is a zero vector such that [V+0=V] For all Vectors in V there is a -V such that (-V)+V=0 And of a Scalar Multiplication such that:…

Continue Reading

Translate »